Wind River Support Network

HomeDefectsLIN7-1905
Fixed

LIN7-1905 : nfs_server failed to export fs after setting the date to 19700101 on intel-x86-32 sysvinit target

Created: Nov 20, 2014    Updated: Sep 8, 2018
Resolved Date: Dec 14, 2014
Found In Version: 7.0.0.0.LB15
Fix Version: 7.0.0.1
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Kernel

Description

Problem Description
======================
After setting system date to 19700101, nfs server failed to export fs by "exportfs -arv" on intel-x86-32 sysvinit target.

content of /etc/exports:
/nfs/f_t7   192.168.1.2(rw,async,no_root_squash,no_subtree_check)

/nfs/f_t7 is existed and readable.

Expected Behavior
======================
After setting system date to 19700101, nfs server can export fs by "exportfs -arv" on intel-x86-32 sysvinit target without error.

Observed Behavior
======================
After setting system date to 19700101, nfs server failed to export fs by "exportfs -arv" on intel-x86-32 sysvinit target.

Logs
======================
bash-4.3# date
Thu Jan  1 00:09:51 UTC 1970
bash-4.3# ls -l /nfs/
total 4
drwxr-xr-x 2 root root 4096 Nov 20  2014 f_t7
bash-4.3# cat /etc/exports

/nfs/f_t7    192.168.1.2(rw,async,no_root_squash,no_subtree_check)
bash-4.3# exportfs -arv
exporting 192.168.1.2:/nfs/f_t7
exportfs: /nfs/f_t7 does not support NFS export

bash-4.3# date -s 20141120
Thu Nov 20 00:00:00 UTC 2014
bash-4.3# exportfs -arv
exporting 192.168.1.2:/nfs/f_t7
bash-4.3#

Steps to Reproduce

1) wrlinux-x/wrlinux/configure --enable-board=intel-x86-32 --enable-kernel=standard --enable-rootfs=glibc-std --with-init=sysvinit
2) make && (..boot the target..)
3) service nfsserver start
cat > /etc/exports << EOF
/nfs/f_t7    192.168.1.2(rw,async,no_root_squash,no_subtree_check)
EOF

mkdir -p /nfs/f_t7
date -s "19700101"
exportfs -arv 

Other Downloads


Live chat
Online