Your message dated Mon, 27 Mar 2006 12:53:39 +0200
with message-id <[EMAIL PROTECTED]>
and subject line nfs-common: rpc-statd ignores -o
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: nfs-common
Version: 1:1.0.6-3.1
Severity: important


www1:~# cat /etc/default/nfs-common 
# Options for rpc.statd.
#   Should rpc.statd listen on a specific port?
#   If so, set this variable to a statd argument like: "--port 1000".
STATDOPTS="--port 900 -o 901"

# Are you _sure_ that your kernel does or does not need a lockd daemon?
# If so, set this variable to either "yes" or "no".
NEED_LOCKD=
www1:~# netstat -taupn|grep statd
tcp        0      0 0.0.0.0:900             0.0.0.0:*               LISTEN      
1360/rpc.statd      
udp        0      0 0.0.0.0:900             0.0.0.0:*           1360/rpc.statd  
    
udp        0      0 0.0.0.0:688             0.0.0.0:*           1360/rpc.statd  
    

Documentation says:
man rpc.statd
       -o, --outgoing-port port
              specify a port for rpc.statd to  send  outgoing  status requests  
from.   By  default,  rpc.statd  will  ask
              portmap(8)  to assign it a port number.  As of this writing, 
there is not a standard port number that portmap
              always or usually assigns.  Specifying a port may be useful when 
implementing a firewall.

Neither -o or --outgoing-port seems to be working.

It is very important to be able to control the open/bound ports.

In my case rpc.statd stole the port from heartbeat.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (600, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.14
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nfs-common depends on:
ii  debconf                     1.4.30.13    Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libwrap0                    7.6.dbs-8    Wietse Venema's TCP wrappers libra
ii  portmap                     5-9          The RPC portmapper
ii  sysvinit                    2.86.ds1-1   System-V like init

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 1:1.0.7-1

On Mon, Mar 27, 2006 at 11:30:08AM +0200, Veres Lajos wrote:
> It seems to be working. Thanks.
> 
> dazzle:~# netstat -taupn | grep statd
> tcp        0      0 0.0.0.0:900             0.0.0.0:*               LISTEN  
> 30473/rpc.statd
> udp        0      0 0.0.0.0:900             0.0.0.0:*                       
> 30473/rpc.statd
> udp        0      0 0.0.0.0:901             0.0.0.0:*                       
> 30473/rpc.statd

Great; closing. :-)

/* Steinar */
-- 
Homepage: http://www.sesse.net/

--- End Message ---

Reply via email to