specify nfs lockd port

Herbert Gasiorowski gasi3 at web.de
Mon Nov 29 11:22:40 UTC 2004


I have tried to specify all nfs ports (for iptables), using
the simple way in /etc/sysconfig/nfs:

STATD_PORT=3330
LOCKD_TCPPORT=3331
LOCKD_UDPPORT=3331
MOUNTD_PORT=3332
RQUOTAD_PORT=3333

this works fine for all but for LOCKD:

the port is correctly added to (by /etc/init.d/nfs)
$ cat /proc/sys/fs/nfs/nlm_tcpport
3331

but "rpcinfo -p" shows a port above 32000 (after reboot)!

If I add the following line to /etc/modprobe.conf :
options lockd nlm_udpport=3331 nlm_tcpport=3331

all works as expected!

What am I doing wrong?

-- 
mfg
Herbert Gasiorowski
http://www.mathematik.uni-marburg.de/~gasi/




More information about the fedora-list mailing list