Red Hat Bugzilla – Bug 126263
NFS mount with vanilla kernel 2.6.6 fails
Last modified: 2007-11-30 17:10:44 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510
Description of problem:
HAving problems to run the NFS services, using FC2 and the vanilla
kernel when nfs is not built as modules, but if it has been compiled
in. In This case, all tries to mount such an nfs server filesystem
fails with "permission denied".
If I build the NFS filesystem on a module based, all is OK.
With the no-module solution of vanilla kernel 2.6.6 in FC1, I had no
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install FC2 with an vanilla kernel where NFS is not made on a module
3.Try to mount some dir from a remote machine.
Actual Results: Mount fails from this remote machine with
Expected Results: Mount OK.
The problem disappears if compiling NFS on a module base in the
Added the following to your fstab:
nfsd /proc/fs/nfsd nfsd auto,defaults 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs auto,defaults 0 0
This should take care of the problem
I'm having the same problem with kernel 2.6.13 in FC3. The fstab entries do not seem to help.
Additionally, /etc/rc.d/init.d/rpcidmapd bails out when it tries to 'modprobe sunrpc' which is included
into the kernel (CONFIG_SUNRPC=y) when CONFIG_NFS_FS=y.
never mind... it's working fine with the sunrpc mount line