RPCSTATDOPTS="-p 32765 -o 32766" set in /etc/conf.d/nfs After a fresh boot, rpc.statd does not use the above configured port. I checked /etc/init.d/nfs and found: start_statd() { # Don't start rpc.statd if already started by init.d/nfsmount killall -0 rpc.statd &>/dev/null && return 0 ebegin "Starting NFS statd" start-stop-daemon --start --quiet --exec \ $statd -- $RPCSTATDOPTS 1>&2 eend $? "Error starting NFS statd" } It seems the line: killall -0 rpc.statd &>/dev/null && return 0 is preventing rpc.statd to start with $RPCSTATDOPTS.
Update: It may be a conflict with nfsmount: /etc/init.d/nfsmount status * Caching service dependencies ... [ ok ] * status: started So probably adding before nfsmount to the /etc/init.d/nfs would help: depend() { use ypbind net need portmap before nfsmount after quota } Another solution would be to add the options provided in /etc/conf.d/nfs to nfsmount.
*** This bug has been marked as a duplicate of bug 60362 ***
SpanKY, I don't see this bug as a duplicate. Do you really think it is a dup of a bug filed in the year 2004 which is closed already? Is this fixed in newer versions?
this is being handled at Bug 203646