Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175287 - net-fs/nfs-utils-1.0.12 - after boot, rpc.statd fails to register configured ports
Summary: net-fs/nfs-utils-1.0.12 - after boot, rpc.statd fails to register configured ...
Status: RESOLVED DUPLICATE of bug 60362
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-19 23:20 UTC by cilly
Modified: 2007-12-29 06:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cilly 2007-04-19 23:20:26 UTC
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.
Comment 1 cilly 2007-04-19 23:31:37 UTC
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.
Comment 2 SpanKY gentoo-dev 2007-04-20 10:40:04 UTC

*** This bug has been marked as a duplicate of bug 60362 ***
Comment 3 cilly 2007-04-20 15:53:09 UTC
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?
Comment 4 SpanKY gentoo-dev 2007-04-21 01:36:56 UTC

*** This bug has been marked as a duplicate of bug 60362 ***
Comment 5 SpanKY gentoo-dev 2007-12-29 06:40:04 UTC
this is being handled at Bug 203646