[Bug 927908] Re: rpc.idmapd refuses to start

Steve Langasek steve.langasek at canonical.com
Tue Feb 7 23:56:41 UTC 2012


On Tue, Feb 07, 2012 at 09:50:27AM -0000, manut wrote:
> Even if i start it via upstart it doesn't work.

> local at vogone:~$ sudo service idmapd start
> idmapd stop/pre-start, process 5239
> local at vogone:~$ ps -A | grep 5239
> local at vogone:~$ 

Which version of Ubuntu is this?  Your report doesn't mention.  (Please use
the 'ubuntu-bug' command for filing bugs, when possible.)

> in /etc/default/nfs-common 
> # Do you want to start the idmapd daemon? It is only needed for NFSv4.
> NEED_IDMAPD=y
> is set.

FWIW, this is no longer needed as of precise.

> No clue, how to debug the upstart job. But if i mount nfsd and
> rpc_pipefs and then start rpc.idmapd -v -f it works.

If you happen to be using precise, you can boot with --log to get logging of
upstart job output.  Otherwise, we can try to dissect this manually.  The
output of the start command suggests, however, that the pre-start script has
decided idmapd isn't meant to be started; so further debugging requires
knowing which Ubuntu release you're running.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org

-- 
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/927908

Title:
  rpc.idmapd refuses to start

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

Bug description:
  The following lines in /etc/fstab are missing:

  rpc_pipefs      /var/lib/nfs/rpc_pipefs rpc_pipefs      defaults        0       0
  nfsd    /proc/fs/nfsd   nfsd    defaults        0       0

  so rpc.idmapd refuses to start with this log:

  rpc.idmapd -v -f
  rpc.idmapd: libnfsidmap: using domain: blubberblase

  rpc.idmapd: libnfsidmap: loaded plugin
  /usr/lib/libnfsidmap/nsswitch.so for method nsswitch

  rpc.idmapd: Expiration time is 600 seconds.
  rpc.idmapd: nfsdopenone: Opening /proc/net/rpc/nfs4.nametoid/channel failed: errno 2 (No such file or directory)
  rpc.idmapd: main: open(/var/lib/nfs/rpc_pipefs/nfs): No such file or directory

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




More information about the foundations-bugs mailing list