Comment 2 for bug 1928259

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

When it's masked, we get the error messages during package install, but it's not a fatal error, and services are not restarted. Looks like the correct outcome, given masking the service was a user's choice:
buntu@rpc-gssd-restart-1928259:~$ ps fxaw|grep rpc
  407 ? I< 0:00 \_ [rpciod]
  524 ? Ss 0:00 /usr/sbin/rpc.idmapd
  532 ? Ss 0:00 /sbin/rpcbind -f -w
  643 ? Ss 0:00 /usr/sbin/rpc.mountd --manage-gids
 2747 pts/0 S+ 0:00 \_ grep --color=auto rpc
 1489 ? Ss 0:00 /usr/sbin/rpc.svcgssd
 1490 ? Ss 0:00 /usr/sbin/rpc.gssd
ubuntu@rpc-gssd-restart-1928259:~$ sudo apt install --reinstall nfs-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 5 not upgraded.
Need to get 243 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ppa.launchpad.net/ahasenack/nfs-utils-restart-1928259/ubuntu bionic/main amd64 nfs-common amd64 1:1.3.4-2.1ubuntu5.5~ppa1 [243 kB]
Fetched 243 kB in 0s (4987 kB/s)
(Reading database ... 60533 files and directories currently installed.)
Preparing to unpack .../nfs-common_1%3a1.3.4-2.1ubuntu5.5~ppa1_amd64.deb ...
Unpacking nfs-common (1:1.3.4-2.1ubuntu5.5~ppa1) over (1:1.3.4-2.1ubuntu5.5~ppa1) ...
Setting up nfs-common (1:1.3.4-2.1ubuntu5.5~ppa1) ...
Failed to start nfs-utils.service: Unit nfs-utils.service is masked.
Failed to restart nfs-utils.service: Unit nfs-utils.service is masked.
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.47) ...
ubuntu@rpc-gssd-restart-1928259:~$ ps fxaw|grep rpc
  407 ? I< 0:00 \_ [rpciod]
  524 ? Ss 0:00 /usr/sbin/rpc.idmapd
  532 ? Ss 0:00 /sbin/rpcbind -f -w
  643 ? Ss 0:00 /usr/sbin/rpc.mountd --manage-gids
 3283 pts/0 S+ 0:00 \_ grep --color=auto rpc
 1489 ? Ss 0:00 /usr/sbin/rpc.svcgssd
 1490 ? Ss 0:00 /usr/sbin/rpc.gssd