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

Thanks for the hint. I removed the 'exec echo' lines and now get the following
log:

local@vogone:~$ cat /var/log/idmapd.log 
idmapd stop/pre-start, process 848
local@vogone:~$ sudo status idmapd
[sudo] password for local: 
idmapd stop/waiting
local@vogone:~$ 

If i try to start idmapd manually it still works:

root@vogone:~# rpc.idmapd -v -f
rpc.idmapd: libnfsidmap: using domain: ABCDE.net

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

rpc.idmapd: Expiration time is 600 seconds.
rpc.idmapd: Opened /proc/net/rpc/nfs4.nametoid/channel
rpc.idmapd: Opened /proc/net/rpc/nfs4.idtoname/channel
rpc.idmapd: main: open(/var/lib/nfs/rpc_pipefs/nfs): No such file or directory
root@vogone:~# mount -t rpc_pipefs rpc_pipefs
/var/lib/nfs/rpc_pipefsroot@vogone:~# rpc.idmapd -v -f
rpc.idmapd: libnfsidmap: using domain: ABCDE.net

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

rpc.idmapd: Expiration time is 600 seconds.
rpc.idmapd: Opened /proc/net/rpc/nfs4.nametoid/channel
rpc.idmapd: Opened /proc/net/rpc/nfs4.idtoname/channel


> > 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?
 
Yes, if i keep the exec echo lines in the config file i get the pid with the
status command:

local@vogone:~$ status idmapd
idmapd start/running, process 884


> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> 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
>

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

Title:
  rpc.idmapd refuses to start

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to