Package: nfs-common Version: 1:1.2.8-9.1 Severity: important --- Please enter the report below this line. ---
I am trying to mount a NFSv4 mount on a Debian client using the UID/GID mapping provided by rpc.idmapd. If I install nfs-common the systemd service nfs-idmapd.service is available, but if I try to start I get the following error: # systemctl restart nfs-idmapd.service Failed to restart nfs-idmapd.service: Unit nfs-server.service not found. /etc/idmapd.conf is properly configured (the same configuration works in a Fedora 24 client) but still the UID mapping is wrong when mounting the nfs share. If I install package nfs-kernel-server then I can restart nfs-idmapd and the UID mapping works correctly. For a reference, there was a bug report on Ubuntu with a similar issue: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1428961 Regards, Enrique --- System information. --- Architecture: amd64 Kernel: Linux 4.6.0-1-amd64 Debian Release: stretch/sid 500 testing ftp.de.debian.org --- Package information. --- Depends (Version) | Installed ==========================================-+-=================== libc6 (>= 2.14) | 2.23-2 libcap2 (>= 1:2.10) | 1:2.25-1 libcomerr2 (>= 1.01) | 1.43.1-1 libdevmapper1.02.1 (>= 2:1.02.97) | 2:1.02.130-1 libevent-2.0-5 (>= 2.0.10-stable) | 2.0.21-stable-2+b1 libgssapi-krb5-2 (>= 1.14+dfsg) | 1.14.2+dfsg-1 libk5crypto3 (>= 1.6.dfsg.2) | 1.14.2+dfsg-1 libkeyutils1 (>= 1.4) | 1.5.9-9 libkrb5-3 (>= 1.6.dfsg.2) | 1.14.2+dfsg-1 libmount1 (>= 2.19.1) | 2.28-6 libnfsidmap2 | 0.25-5 libtirpc1 (>= 0.2.4) | 0.2.5-1 libwrap0 (>= 7.6-4~) | 7.6.q-25 init-system-helpers (>= 1.18~) | 1.36 rpcbind | 0.2.3-0.5 adduser | 3.115 ucf | 3.0036 lsb-base (>= 1.3-9ubuntu3) | 9.20160629 libblkid1 (>= 2.16) | 2.28-6 libc6 (>= 2.14) | 2.23-2 libcap2 (>= 1:2.10) | 1:2.25-1 libsqlite3-0 (>= 3.5.9) | 3.13.0-1 libtirpc1 (>= 0.2.4) | 0.2.5-1 libwrap0 (>= 7.6-4~) | 7.6.q-25 init-system-helpers (>= 1.18~) | 1.36 nfs-common (= 1:1.2.8-9.1) | 1:1.2.8-9.1 ucf | 3.0036 netbase | 5.3 lsb-base (>= 1.3-9ubuntu3) | 9.20160629 keyutils | 1.5.9-9 Recommends (Version) | Installed =========================-+-=========== python | 2.7.11-2 Suggests (Version) | Installed =========================-+-=========== open-iscsi | watchdog | --- Output from package bug script --- -- 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 100005 1 udp 33325 mountd 100005 1 tcp 43265 mountd 100005 2 udp 59389 mountd 100005 2 tcp 48451 mountd 100005 3 udp 58623 mountd 100005 3 tcp 57053 mountd 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100227 2 tcp 2049 100227 3 tcp 2049 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 4 udp 2049 nfs 100227 2 udp 2049 100227 3 udp 2049 100024 1 udp 41415 status 100024 1 tcp 39347 status -- /etc/default/nfs-common -- NEED_STATD= STATDOPTS= NEED_IDMAPD=yes NEED_GSSD= -- /etc/idmapd.conf -- [General] Verbosity = 5 Pipefs-Directory = /run/rpc_pipefs Domain = hq.eso.org [Mapping] Nobody-User = nobody Nobody-Group = nogroup -- /etc/fstab --