Hi, there is a problem with /usr/sbin/exportfs from nfs-utils-0.1.6-2 when I run /usr/sbin/exportfs -a I get an error message exportfs: Unknown keyword "crossmnt" in export file The cause of this error message is the word crossmnt in /proc/fs/nfs/exports cat /proc/fs/nfs/exports # Version 1.0 # Path Client(Flags) # IPs /home/installation 192.168.1.149(ro,insecure,root_squash,all_squash,async,wdelay,crossmnt) # 192.168.1.149 crossmnt word causes exportfs to fail.
shutdown nfs entirely. the /proc file will go away - restart it. also look in: /var/lib/nfs for a file with crossmnt in it.
If I shutdown and restart it - same thing. The kernel created file has the word corossmnt. The only way to remove it - remove nohide option from /etc/exports In /var/lib/nfs/etab there is no such word. cat /var/lib/nfs/etab /home/redhat7.0 (ro,async,wdelay,nohide,insecure,root_squash,all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2) /home/dev/BBS (ro,async,wdelay,nohide,insecure,root_squash,all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2) /home/httpd (ro,async,wdelay,nohide,insecure,root_squash,all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2) cat /proc/fs/nfs/exports # Version 1.0 # Path Client(Flags) # IPs /home/dev/BBS 190.1.1.31(ro,insecure,root_squash,all_squash,async,wdelay,crossmnt) # 190.1.1.31 /home/httpd 192.168.2.2(ro,insecure,root_squash,all_squash,async,wdelay,crossmnt) # 192.168.2.2 /home/redhat7.0 192.168.2.2(ro,insecure,root_squash,all_squash,async,wdelay,crossmnt) # 192.168.2.2 cat /etc/exports /home/httpd (ro,insecure,all_squash,nohide) /home/redhat7.0 (ro,insecure,all_squash,nohide) /home/dev/BBS (ro,insecure,all_squash,nohide) The only way to fix this- remove nohide option from /etc/exports
knfsd does not support all the features the old unfsd does.
Then this should be documented somewhere. For example in man exports at least.
Well man exports doesnt include the option - it should have been in the release notes way back then. Just tidying up old dead bugs Alan the bugzilla womble