Comment 85 for bug 1590799

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

This issue also does NOT affect Bionic:

[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).

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community
(or in the existing mailing lists)