Package: nfs-common Version: 1:1.2.8-9 Severity: normal Dear Maintainer, NFS mounts don't work on systemd enabled systems because nfs-common is started before rpcbind. If nfs-common is restarted after boot, the mounts start to work fine. In log files I see: nfs-common[1301]: Not starting: portmapper is not running ... (warning).
-- 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 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 100021 1 udp 32768 nlockmgr 100021 3 udp 32768 nlockmgr 100021 4 udp 32768 nlockmgr 100021 1 tcp 32768 nlockmgr 100021 3 tcp 32768 nlockmgr 100021 4 tcp 32768 nlockmgr 100005 1 udp 32767 mountd 100005 1 tcp 32767 mountd 100005 2 udp 32767 mountd 100005 2 tcp 32767 mountd 100005 3 udp 32767 mountd 100005 3 tcp 32767 mountd 100024 1 udp 32765 status 100024 1 tcp 32765 status -- /etc/default/nfs-common -- NEED_STATD= STATDOPTS="--port 32765 --outgoing-port 32766" NEED_IDMAPD=yes NEED_GSSD=yes -- /etc/idmapd.conf -- [General] Verbosity = 0 Pipefs-Directory = /run/rpc_pipefs Domain=kaspar.in [Mapping] Nobody-User = nobody Nobody-Group = nogroup -- /etc/fstab -- /media /srv/nfs4/media none rw,rbind 0 0 /srv/home /srv/nfs4/home none rw,bind 0 0 budha:/multimedia /srv/multimedia nfs4 sec=krb5,soft,intr,timeo=10,retrans=10,noatime,auto,x-systemd.automount,x-systemd.device-timeout=10 0 0 #budha:/srv/nfs4/multimedia /srv/multimedia nfs defaults,vers=3,soft,bg 0 3 #budha:/shared /home/shared nfs4 sec=krb5,soft,retrans=4,noatime,auto,x-systemd.automount,x-systemd.device-timeout=10 0 0 -- /proc/mounts -- /dev/dm-3 /srv/nfs4/media ext4 rw,noatime,errors=remount-ro,data=ordered 0 0 /dev/mapper/vg00-home /srv/nfs4/home ext4 rw,nosuid,nodev,relatime,data=ordered 0 0 nfsd /proc/fs/nfsd nfsd rw,relatime 0 0 budha:/multimedia /srv/multimedia nfs4 rw,noatime,vers=4.0,rsize=262144,wsize=262144,namlen=255,soft,proto=tcp6,port=0,timeo=10,retrans=10,sec=krb5,clientaddr=fd3c:13aa:60ba:0:ae22:bff:fe2c:b7ae,local_lock=none,addr=fd3c:13aa:60ba::1 0 0 -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (990, 'unstable'), (10, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/6 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages nfs-common depends on: ii adduser 3.113+nmu3 ii initscripts 2.88dsf-59.2 ii libc6 2.19-22 ii libcap2 1:2.24-12 ii libcomerr2 1.42.13-1 ii libdevmapper1.02.1 2:1.02.110-1 ii libevent-2.0-5 2.0.21-stable-2+b1 ii libgssapi-krb5-2 1.13.2+dfsg-4 ii libk5crypto3 1.13.2+dfsg-4 ii libkeyutils1 1.5.9-8 ii libkrb5-3 1.13.2+dfsg-4 ii libmount1 2.27.1-1 ii libnfsidmap2 0.25-5 ii libtirpc1 0.2.5-1 ii libwrap0 7.6.q-25 ii lsb-base 9.20150917 ii rpcbind 0.2.3-0.2 ii ucf 3.0031 Versions of packages nfs-common recommends: ii python 2.7.9-1 Versions of packages nfs-common suggests: ii open-iscsi 2.0.873+git0.3b4b4500-12 pn watchdog <none> Versions of packages nfs-kernel-server depends on: ii libblkid1 2.27.1-1 ii libc6 2.19-22 ii libcap2 1:2.24-12 ii libsqlite3-0 3.9.2-1 ii libtirpc1 0.2.5-1 ii libwrap0 7.6.q-25 ii lsb-base 9.20150917 ii ucf 3.0031 -- Configuration Files: /etc/default/nfs-common changed: NEED_STATD= STATDOPTS="--port 32765 --outgoing-port 32766" NEED_IDMAPD=yes NEED_GSSD=yes -- no debconf information