oscar-cluster / oscar

OSCAR main source repository.
GNU General Public License v2.0
13 stars 2 forks source link

[OSCARonDebian] NFS warning when stopping the NFS server #397

Open dikim33 opened 8 years ago

dikim33 commented 8 years ago

Reported by valleegr on 20 Aug 2007 18:30 UTC When OSCAR stops the NFS server, the following warning appears:

Exporting directories for NFS kernel daemon...exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "192.168.1.1/255.255.255.0:/home".
  Assuming default behaviour ('subtree_check').
  NOTE: this default will change with nfs-utils version 1.1.0
.

To fix the problem, '/etc/exports' has to be updated from:

/home <something>/<something>(async,rw,no_root_squash)

to:

/home <something>/<something>(async,rw,no_root_squash,no_subtree_check)

This is not completely depend to Debian but more to the NFS version used.

dikim33 commented 8 years ago

Comment by bli on 21 Aug 2007 04:29 UTC This issue also occurs on openSUSE 10.2:

suse10-2-x86:~ # /etc/init.d/nfsserver restart
Shutting down kernel based NFS server                                 done
Starting kernel based NFS serverexportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' specified for export "192.168.0.1/255.255.255.0:/home".
  Assuming default behaviour ('subtree_check').
  NOTE: this default will change with nfs-utils version 1.1.0
                                                                      done

This was also initially reported with Fedora 7 Test 2 but I do not remember seeing it in the Fedora 7 release (they might have suppressed the warning).

See also #300.

You probably want to change the component to "core - other"?