Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11947 - nfs-utils updates
Summary: nfs-utils updates
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-11 03:26 UTC by Doug Goldstein (RETIRED)
Modified: 2003-02-04 19:42 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 Doug Goldstein (RETIRED) gentoo-dev 2002-12-11 03:26:00 UTC
I noticed that your init.d script allows for mountd options to be passed when it
starts.... however statd also needs some options sometimes when it's started..

i.e.

# Config file for /etc/init.d/nfs

# Number of servers to be started up by default
RPCNFSDCOUNT=8

# Options to pass to rpc.mountd
RPCMOUNTDOPTS="-p 32767"

# Options to pass to rpc.statd
RPCSTATDOPTS="-p 32765 -o 32766"

# Options to pass to rpc.rquotad
RPCRQUOTADOPTS="-p 32764"


And the revelent change in line 31 of /etc/init.d/nfs is 

        start-stop-daemon --start --quiet --exec /sbin/rpc.statd --
$RPCSTATDOPTS 1>&2

as well as line 61

        start-stop-daemon --start --quiet --exec /sbin/rpc.rquotad --
$RPCRQUOTADOPTS 1>&2

For more info see the following

http://www.tldp.org/HOWTO/NFS-HOWTO/security.html#FIREWALLS
Comment 1 Brad Cowan (RETIRED) gentoo-dev 2002-12-12 08:56:25 UTC
thanks added to the KEYWORD masked ebuild