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 denied
To resolve it type:
mount -t nfsd none /proc/fs/nfsd
You can safely make that permanent (automount on boot):
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…
- 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 locked
Until 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.