[rafaeldtinoco@bnfstests ~]$ systemctl status nfs-kernel-server.service
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
Active: active (exited) since Thu 2020-08-20 17:46:54 UTC; 29s ago
Process: 1537 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
Process: 1536 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
Process: 1535 ExecStop=/usr/sbin/rpc.nfsd 0 (code=exited, status=0/SUCCESS)
Process: 1561 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS)
Process: 1560 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
Main PID: 1561 (code=exited, status=0/SUCCESS)
Aug 20 17:46:54 bnfstests systemd[1]: Starting NFS server and services...
Aug 20 17:46:54 bnfstests systemd[1]: Started NFS server and services.
[rafaeldtinoco@bnfstests ~]$ systemctl status rpcbind.socket
Failed to dump process list, ignoring: No such file or directory
● rpcbind.socket - RPCbind Server Activation Socket
Loaded: loaded (/lib/systemd/system/rpcbind.socket; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-08-20 17:44:25 UTC; 3min 6s ago
Listen: /run/rpcbind.sock (Stream)
CGroup: /system.slice/rpcbind.socket
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
[rafaeldtinoco@bnfstests ~]$ systemctl status rpcbind.service
● rpcbind.service - RPC bind portmap service
Loaded: loaded (/lib/systemd/system/rpcbind.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-08-20 17:44:26 UTC; 3min 14s ago
Docs: man:rpcbind(8)
Main PID: 382 (rpcbind)
Tasks: 1 (limit: 2338)
CGroup: /system.slice/rpcbind.service
└─382 /sbin/rpcbind -f -w
Aug 20 17:44:26 bnfstests systemd[1]: Starting RPC bind portmap service...
Aug 20 17:44:26 bnfstests systemd[1]: Started RPC bind portmap service.
[rafaeldtinoco@bnfstests ~]$ systemctl status nfs-
nfs-blkmap.service nfs-config.service nfs-mountd.service
nfs-client.target nfs-idmapd.service nfs-server.service
nfs-common.service nfs-kernel-server.service nfs-utils.service
[rafaeldtinoco@bnfstests ~]$ systemctl status nfs-mountd.service
● nfs-mountd.service - NFS Mount Daemon
Loaded: loaded (/lib/systemd/system/nfs-mountd.service; static; vendor preset: enabled)
Active: active (running) since Thu 2020-08-20 17:46:54 UTC; 54s ago
Process: 1556 ExecStart=/usr/sbin/rpc.mountd $RPCMOUNTDARGS (code=exited, status=0/SUCCESS)
Main PID: 1559 (rpc.mountd)
Tasks: 1 (limit: 2338)
CGroup: /system.slice/nfs-mountd.service
└─1559 /usr/sbin/rpc.mountd --manage-gids
Aug 20 17:46:54 bnfstests systemd[1]: Starting NFS Mount Daemon...
Aug 20 17:46:54 bnfstests rpc.mountd[1559]: Version 1.3.3 starting
Aug 20 17:46:54 bnfstests systemd[1]: Started NFS Mount Daemon.
[rafaeldtinoco@bnfstests ~]$ systemctl is-enabled nfs-blkmap.service
disabled
[rafaeldtinoco@bnfstests ~]$ systemctl is-enabled nfs-client.target
enabled
[rafaeldtinoco@bnfstests ~]$ systemctl is-enabled nfs-common.service
masked
[rafaeldtinoco@bnfstests ~]$ systemctl is-enabled nfs-config.service
static
[rafaeldtinoco@bnfstests ~]$ systemctl is-enabled nfs-idmapd.service
static
[rafaeldtinoco@bnfstests ~]$ systemctl is-enabled nfs-kernel-server.service
enabled
[rafaeldtinoco@bnfstests ~]$ systemctl is-enabled nfs-mountd.service
static
[rafaeldtinoco@bnfstests ~]$ systemctl is-enabled nfs-server.service
enabled
[rafaeldtinoco@bnfstests ~]$ systemctl is-enabled nfs-utils.service
static
[rafaeldtinoco@bnfstests ~]$ systemctl is-active rpcbind
active
[rafaeldtinoco@bnfstests ~]$ systemctl is-active rpcbind.service
active
[rafaeldtinoco@bnfstests ~]$ systemctl is-active rpcbind.socket
active
[rafaeldtinoco@bnfstests ~]$ systemctl is-active nfs-kernel-server.service
active
[rafaeldtinoco@bnfstests ~]$ systemctl is-active nfs-mountd.service
active
[rafaeldtinoco@bnfstests ~]$ systemctl is-active nfs-client.target
active
Note: if it affects your Bionic is very likely that you are using:
[rafaeldtinoco@bnfstests ~]$ ls /etc/init.d/*nfs*
/etc/init.d/nfs-common /etc/init.d/nfs-kernel-server
[rafaeldtinoco@bnfstests ~]$ ls /etc/init.d/*rpc*
/etc/init.d/rpcbind
systemd generators using the services from /etc/init.d/ (you can check that using systemctl status XXXX). If you are using only systemd NFS service units, then you should NOT get " DEPENDENCY ERRORS " (the original situation described by this bug).
Of course there are OTHER issues that can happen during NFS service initialization (or any of its dependent services). Feel free to open NEW bugs if you think you faced a bug (and not a misconfiguration issue).
This issue also does NOT affect Bionic:
[rafaeldtinoco@ bnfstests ~]$ systemctl status nfs-kernel- server. service system/ nfs-server. service; enabled; vendor preset: enabled) /usr/sbin/ exportfs -f (code=exited, status=0/SUCCESS) /usr/sbin/ exportfs -au (code=exited, status=0/SUCCESS) /usr/sbin/ rpc.nfsd 0 (code=exited, status=0/SUCCESS) /usr/sbin/ rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS) /usr/sbin/ exportfs -r (code=exited, status=0/SUCCESS)
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/
Active: active (exited) since Thu 2020-08-20 17:46:54 UTC; 29s ago
Process: 1537 ExecStopPost=
Process: 1536 ExecStopPost=
Process: 1535 ExecStop=
Process: 1561 ExecStart=
Process: 1560 ExecStartPre=
Main PID: 1561 (code=exited, status=0/SUCCESS)
Aug 20 17:46:54 bnfstests systemd[1]: Starting NFS server and services... bnfstests ~]$ systemctl status rpcbind.socket system/ rpcbind. socket; enabled; vendor preset: enabled) slice/rpcbind. socket
Aug 20 17:46:54 bnfstests systemd[1]: Started NFS server and services.
[rafaeldtinoco@
Failed to dump process list, ignoring: No such file or directory
● rpcbind.socket - RPCbind Server Activation Socket
Loaded: loaded (/lib/systemd/
Active: active (running) since Thu 2020-08-20 17:44:25 UTC; 3min 6s ago
Listen: /run/rpcbind.sock (Stream)
CGroup: /system.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable. bnfstests ~]$ systemctl status rpcbind.service system/ rpcbind. service; enabled; vendor preset: enabled) slice/rpcbind. service
[rafaeldtinoco@
● rpcbind.service - RPC bind portmap service
Loaded: loaded (/lib/systemd/
Active: active (running) since Thu 2020-08-20 17:44:26 UTC; 3min 14s ago
Docs: man:rpcbind(8)
Main PID: 382 (rpcbind)
Tasks: 1 (limit: 2338)
CGroup: /system.
└─382 /sbin/rpcbind -f -w
Aug 20 17:44:26 bnfstests systemd[1]: Starting RPC bind portmap service... bnfstests ~]$ systemctl status nfs- server. service nfs-utils.service bnfstests ~]$ systemctl status nfs-mountd.service system/ nfs-mountd. service; static; vendor preset: enabled) /usr/sbin/ rpc.mountd $RPCMOUNTDARGS (code=exited, status=0/SUCCESS) slice/nfs- mountd. service rpc.mountd --manage-gids
Aug 20 17:44:26 bnfstests systemd[1]: Started RPC bind portmap service.
[rafaeldtinoco@
nfs-blkmap.service nfs-config.service nfs-mountd.service
nfs-client.target nfs-idmapd.service nfs-server.service
nfs-common.service nfs-kernel-
[rafaeldtinoco@
● nfs-mountd.service - NFS Mount Daemon
Loaded: loaded (/lib/systemd/
Active: active (running) since Thu 2020-08-20 17:46:54 UTC; 54s ago
Process: 1556 ExecStart=
Main PID: 1559 (rpc.mountd)
Tasks: 1 (limit: 2338)
CGroup: /system.
└─1559 /usr/sbin/
Aug 20 17:46:54 bnfstests systemd[1]: Starting NFS Mount Daemon... bnfstests ~]$ systemctl is-enabled nfs-blkmap.service bnfstests ~]$ systemctl is-enabled nfs-client.target bnfstests ~]$ systemctl is-enabled nfs-common.service bnfstests ~]$ systemctl is-enabled nfs-config.service bnfstests ~]$ systemctl is-enabled nfs-idmapd.service bnfstests ~]$ systemctl is-enabled nfs-kernel- server. service bnfstests ~]$ systemctl is-enabled nfs-mountd.service bnfstests ~]$ systemctl is-enabled nfs-server.service bnfstests ~]$ systemctl is-enabled nfs-utils.service bnfstests ~]$ systemctl is-active rpcbind bnfstests ~]$ systemctl is-active rpcbind.service bnfstests ~]$ systemctl is-active rpcbind.socket bnfstests ~]$ systemctl is-active nfs-kernel- server. service bnfstests ~]$ systemctl is-active nfs-mountd.service bnfstests ~]$ systemctl is-active nfs-client.target
Aug 20 17:46:54 bnfstests rpc.mountd[1559]: Version 1.3.3 starting
Aug 20 17:46:54 bnfstests systemd[1]: Started NFS Mount Daemon.
[rafaeldtinoco@
disabled
[rafaeldtinoco@
enabled
[rafaeldtinoco@
masked
[rafaeldtinoco@
static
[rafaeldtinoco@
static
[rafaeldtinoco@
enabled
[rafaeldtinoco@
static
[rafaeldtinoco@
enabled
[rafaeldtinoco@
static
[rafaeldtinoco@
active
[rafaeldtinoco@
active
[rafaeldtinoco@
active
[rafaeldtinoco@
active
[rafaeldtinoco@
active
[rafaeldtinoco@
active
Note: if it affects your Bionic is very likely that you are using:
[rafaeldtinoco@ bnfstests ~]$ ls /etc/init.d/*nfs* d/nfs-common /etc/init. d/nfs-kernel- server
/etc/init.
[rafaeldtinoco@ bnfstests ~]$ ls /etc/init.d/*rpc*
/etc/init.d/rpcbind
systemd generators using the services from /etc/init.d/ (you can check that using systemctl status XXXX). If you are using only systemd NFS service units, then you should NOT get " DEPENDENCY ERRORS " (the original situation described by this bug).
Of course there are OTHER issues that can happen during NFS service initialization (or any of its dependent services). Feel free to open NEW bugs if you think you faced a bug (and not a misconfiguration issue).
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://
(or in the existing mailing lists)