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

manut manut at mecka.net
Thu Feb 9 18:38:57 UTC 2012


On Tue, 07 Feb 2012 23:56:41 -0000, Steve Langasek
<steve.langasek at canonical.com> wrote:
> 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.)

it's oneiric with latest updates

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

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

exec echo "3"
exec rpc.idmapd

...

However i can't see those prints in the syslog, but the idmapper
is now running after a reboot.

I'd like to understand what is happening here. Because the next
step is getting autofs with ldap working after startup that is
also not working 'out of the box' with ubuntu. :(

Thanks for your help

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