Not sure since what kernel, but you need to mount nfsd virtual file system on server. Otherwise you will get:
mount: 10.1.0.1:/var/cache/yum failed, reason given by server: Permission deniedTo resolve it type:
on server root console
mount -t nfsd none /proc/fs/nfsd
You can safely make that permanent (automount on boot):
edit /etc/fstab and add following line
none /proc/fs/nfsd nfsd defaults 0 0
It took me a few hours to resolve this issue… There are so many questions about above Permission denied message over the Internet, but I didn’t find single answer with this hint…
More troubleshooting
- Make sure you have NFS compiled in kernel.
- Check the firewall settings and SELinux settings. Eventually disable both for test.
- On Fedora Core 5 I found out the I’m getting:
(...)
_sqlite.OperationalError: database is lockedUntil I start NFS locking service on both server & client:
service nfslock start
More resources: sharing between SELinux Fedora Core and non-SELinux system
Post Scriptum: this is an import of information that I wrote a while ago. Things might have changed since then.
NFS: Permission denied,
More hours to resolve this issue that was a bug detected, but, thank you very macth by help!
See you bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=264661