Comment 16 for bug 1971935

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

> up until just before the step to install and manage the NFS stuff and rpc_pipefs is not mounted
> anywhere before starting to configure NFS+Kerberos with Puppet for the first time.

Are you saying that on a jammy system, after "sudo apt install nfs-common", you don't get rpc_pipefs mounted?

Right after installing nfs-common, I have it:

(...)
Setting up nfs-common (1:2.6.1-1ubuntu1) ...

Creating config file /etc/idmapd.conf with new version

Creating config file /etc/nfs.conf with new version
Adding system user `statd' (UID 112) ...
Adding new user `statd' (UID 112) with group `nogroup' ...
Not creating home directory `/var/lib/nfs'.
Created symlink /etc/systemd/system/multi-user.target.wants/nfs-client.target → /lib/systemd/system/nfs-client.target.
Created symlink /etc/systemd/system/remote-fs.target.wants/nfs-client.target → /lib/systemd/system/nfs-client.target.
auth-rpcgss-module.service is a disabled or a static unit, not starting it.
nfs-idmapd.service is a disabled or a static unit, not starting it.
nfs-utils.service is a disabled or a static unit, not starting it.
proc-fs-nfsd.mount is a disabled or a static unit, not starting it.
rpc-gssd.service is a disabled or a static unit, not starting it.
rpc-statd-notify.service is a disabled or a static unit, not starting it.
rpc-statd.service is a disabled or a static unit, not starting it.
rpc-svcgssd.service is a disabled or a static unit, not starting it.
rpc_pipefs.target is a disabled or a static unit, not starting it.
var-lib-nfs-rpc_pipefs.mount is a disabled or a static unit, not starting it.
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...

ubuntu@j-nfs:~$ mount -t rpc_pipefs
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)

And it was the generator that did it, as expected:

ubuntu@j-nfs:~$ systemctl status run-rpc_pipefs.mount
● run-rpc_pipefs.mount - RPC Pipe File System
     Loaded: loaded (/run/systemd/generator/run-rpc_pipefs.mount; generated)
     Active: active (mounted) since Fri 2022-07-01 12:20:29 UTC; 4min 45s ago
      Where: /run/rpc_pipefs
       What: sunrpc
      Tasks: 0 (limit: 1119)
     Memory: 20.0K
        CPU: 1ms
     CGroup: /system.slice/run-rpc_pipefs.mount

Jul 01 12:20:29 j-nfs systemd[1]: Mounting RPC Pipe File System...
Jul 01 12:20:29 j-nfs systemd[1]: Mounted RPC Pipe File System.