[Bug 897644] Re: rpc.mountd starts without NFSv3 support when not listening on localhost

Steve Langasek steve.langasek at canonical.com
Tue Mar 27 17:24:33 UTC 2012


** Changed in: nfs-utils (Ubuntu)
   Importance: Undecided => Low

** Changed in: nfs-utils (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/897644

Title:
  rpc.mountd starts without NFSv3 support when not listening on
  localhost

Status in “nfs-utils” package in Ubuntu:
  Triaged

Bug description:
  The nfs-kernel-server init script disables NFSv3 support when the
  rpc.nfsd daemon was bound to a specific IP address other than
  127.0.0.1 or localhost using the --host <IP> argument.

  Steps to reproduce:
  1) Edit /etc/default/nfs-kernel-server and bind rpc.nfsd to a specific IP address:
  # Options for rpc.nfsd.
  RPCNFSDOPTS="--host 192.168.1.XYZ"

  2) Restart the NFS kernel daemon service
  service nfs-kernel-server restart

  3) The rpc.mountd has NFSv3 disabled
  ps -C rpc.mountd -o cmd
  /usr/sbin/rpc.mountd --port 32767 --no-nfs-version 3

  
  The problem happens in the /etc/init.d/nfs-kernel-server init script on line 115-116 during the rpcinfo check:
                   $PREFIX/bin/rpcinfo -u localhost nfs 3 >/dev/null 2>&1 ||
                      RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3"


  Environment informations:
  lsb_release -rd
  Description:	Ubuntu 11.10
  Release:	11.10

  apt-cache policy nfs-kernel-server
  nfs-kernel-server:
    Installed: 1:1.2.4-1ubuntu2
    Candidate: 1:1.2.4-1ubuntu2
    Version table:
   *** 1:1.2.4-1ubuntu2 0
          500 http://ch.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/897644/+subscriptions




More information about the foundations-bugs mailing list