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

Steve Langasek steve.langasek at canonical.com
Thu Feb 9 22:54:41 UTC 2012


On Thu, Feb 09, 2012 at 06:38:57PM -0000, manut wrote:
> > Which version of Ubuntu is this?  Your report doesn't mention.  (Please
> > use the 'ubuntu-bug' command for filing bugs, when possible.)

> it's oneiric with latest updates

Ok.  The oneiric upstart doesn't have the same job logging facilities that
we could use in precise to debug this.

> tried to debug it by my own. I added some 'exec echo' s into the
> idmapd.conf:

> pre-start script
> 
>         exec echo "hihi"
> 
>         do_modprobe() {
> ..
>         if ! mountpoint -q "$PIPEFS_MOUNTPOINT"
>         then
>                 mount -t rpc_pipefs rpc_pipefs "$PIPEFS_MOUNTPOINT"
>         fi
> 
>         exec echo "2"
> 
> end script

Instead, please try adding just 'exec > /var/log/idmapd.log 2>&1' as the
first line of the pre-start script. This will give you a /var/log/idmapd.log
showing what's going wrong.

> exec echo "3"
> exec rpc.idmapd

This is definitely broken.  There should only be one 'exec' line.  I don't
know which would take precedence when there are two of them.

> However i can't see those prints in the syslog,

Yes, the output doesn't go to syslog.

> but the idmapper is now running after a reboot.

Surprising.  Can you reproduce the original failure now?  Does 'status
idmapd' show the upstart job running?

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