Red Hat Bugzilla – Bug 212313
nfs mounts in kickstart %post fail - portmap not running
Last modified: 2007-11-30 17:11:46 EST
Description of problem:
Mounting of nfs filesystems in the %post section of kickstart fail due to
portmap not running.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mount.nfs nfsserver:/directory /mountpoint
Times out - unable to contact local portmap
Should mount filesystem
Using /usr/bin/mount instead of /sbin/mount.nfs works fine.
Workaround is to start portmap in the %post section of the kickstart file before
attempting to mount nfs directories.
You need to use -o nolock if you're using mount from within the chroot. A
portmapper _isn't_ running (and won't be)