rpc.statd doesn't respect -o argument?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to implement iptables on a machine that, among other
things, serves as an NFS server.  I've locked down all of the ports of
the various daemons, but rpc.statd doesn't appear to respect the -o
argument.  As you can see:

$ ps -ef | grep statd
rpcuser  17077     1  0 09:47 ?        00:00:00 rpc.statd -p 4000 -o 4004

But:

# netstat -unlp | grep rpc.statd
udp        0      0 0.0.0.0:4000                0.0.0.0:*
17077/rpc.statd
udp        0      0 0.0.0.0:717                 0.0.0.0:*
17077/rpc.statd

The second port appears to be set randomly by portmap, rather than by
the -o 4004 argument I gave it.  Nothing else is using port 4004.

My /etc/sysconfig/nfs:

STATD_PORT=4000
STATD_OUTGOING_PORT=4004
LOCKD_TCPPORT=4001
LOCKD_UDPPORT=4001
MOUNTD_PORT=4002
RQUOTAD_PORT=4003

Thoughts?  Thanks!

Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux