Bug#756885: nfsidmap: request-key command line wrong arg count
Package: nfs-common
Version: 1:1.2.8-6
Severity: normal
idmapd does not work (fails to use correct domain depsite configure in idmap.conf) because
/etc/request-key.d/id_resolver.conf has incorrect number of arguments. Syslog says:
Aug 2 22:19:04 <host> nfsidmap[29796]: Bad arg count. Check /etc/request-key.conf
Aug 2 22:20:19 <host> nfsidmap[32515]: nss_getpwnam: name 'root@local' does not map into domain '<domain>'
d
And no <host> and <domain> are not the actual host and domain.
-- Package-specific info:
-- rpcinfo --
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 34716 status
100024 1 tcp 42067 status
100021 1 udp 40190 nlockmgr
100021 3 udp 40190 nlockmgr
100021 4 udp 40190 nlockmgr
100021 1 tcp 51570 nlockmgr
100021 3 tcp 51570 nlockmgr
100021 4 tcp 51570 nlockmgr
-- /etc/default/nfs-common --
NEED_STATD=no
STATDOPTS=
NEED_IDMAPD=yes
NEED_GSSD=no
-- /etc/idmapd.conf --
[General]
Verbosity = 0
Pipefs-Directory = /run/rpc_pipefs
Domain = <domain>
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
-- /etc/fstab --
<snip>only relevant bit is sec=sys
-- /proc/mounts --
[no relavant bits]
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages nfs-common depends on:
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-53.2
ii libc6 2.19-7
ii libcap2 1:2.24-3
ii libcomerr2 1.42.11-2
ii libdevmapper1.02.1 2:1.02.85-2
ii libevent-2.0-5 2.0.21-stable-1
ii libgssglue1 0.4-2
ii libk5crypto3 1.12.1+dfsg-5
ii libkeyutils1 1.5.9-4
ii libkrb5-3 1.12.1+dfsg-5
ii libmount1 2.20.1-5.8
ii libnfsidmap2 0.25-5
ii libtirpc1 0.2.3-2
ii libwrap0 7.6.q-25
ii lsb-base 4.1+Debian13
ii rpcbind 0.2.1-4
ii ucf 3.0030
Versions of packages nfs-common recommends:
ii python 2.7.8-1
Versions of packages nfs-common suggests:
pn open-iscsi <none>
pn watchdog <none>
-- Configuration Files:
/etc/default/nfs-common changed [not included]
-- no debconf information
Reply to: