[Bug 927908] Re: rpc.idmapd refuses to start
manut
manut at mecka.net
Thu Feb 16 08:12:48 UTC 2012
On Thu, 16 Feb 2012 00:35:27 -0000, Steve Langasek
<steve.langasek at canonical.com> wrote:
> Oh, of course; the stop/pre-start message is precisely because the '|| {
> stop; exit 0; }' is being called, and this is the output of the stop
> command. So somehow, the job is failing to properly handle the
> NEED_IDMAPD setting in /etc/default/nfs-common. Could you attach this
> file as well?
Thanks for the hint!!
just mentioned that i set NEED_IDMAPD=y instead of =yes
Now the idmapd job can be started with service idmapd start.
However the logfile is empty:
local at vogone:~$ cat /etc/default/nfs-common
# If you do not set values for the NEED_ options, they will be attempted
# autodetected; this should be sufficient for most people. Valid
alternatives
# for the NEED_ options are "yes" and "no".
# Do you want to start the statd daemon? It is not needed for NFSv4.
NEED_STATD=
# Options for rpc.statd.
# Should rpc.statd listen on a specific port? This is especially useful
# when you have a port-based firewall. To use a fixed port, set this
# this variable to a statd argument like: "--port 4000 --outgoing-port
4001".
# For more information, see rpc.statd(8) or
http://wiki.debian.org/SecuringNFS
STATDOPTS=
# Do you want to start the idmapd daemon? It is only needed for NFSv4.
NEED_IDMAPD=yes
# Do you want to start the gssd daemon? It is required for Kerberos
mounts.
NEED_GSSD=
local at vogone:~$ sudo vim /etc/default/nfs-common
[sudo] password for local:
local at vogone:~$ sudo service idmapd restart
restart: Unknown instance:
local at vogone:~$ sudo service idmapd start
idmapd start/running, process 2295
local at vogone:~$ cat /var/log/idmapd.log
--
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:
New
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