On Debian 12.6 everything was fine, then I updated today and had
nfs-idmapd.service failing with:

Aug 31 14:44:17 tuesday rpc.idmapd[2235967]: Unable to 
inotify_add_watch(/run/rpc_pipefs/nfs): No such file or directory

It looks like this is because nfs-common has /etc/nfs.conf contain:

[general]
pipefs-directory=/run/rpc_pipefs

When this has been moved to /var/lib/nfs/rpc_pipefs.  That's the default
path that rpc.idmapd is expecting, and there's no attempt at utilising
the -p CL arg to change this.  It's also where
/lib/systemd/system/var-lib-nfs-rpc_pipefs.mount causes it to be
mounted.  That unit is the sole Requires/After in rpc_pipefs.target,
which is itself a Requires/After on nfs-idmapd.service.

My copy of /etc/nfs.conf was auto-created in the bullseye > bookworm
upgrade, and on bookworm 12.7 /usr/share/nfs-common/conffiles/nfs.conf
still contains the /run/ path.

Editing /etc/nfs.conf to have the /var/... path allows rpc.idmapd to
start correctly.

  So, it looks like the nfs-common nfs.conf needs updating, and of
course an update pushed out to ensure that all users *get* that change
as well.

-- 
- Athanasius (he/him) = Athanasius(at)miggy.org / https://miggy.org/
                  GPG/PGP Key: https://miggy.org/gpg-key
           "And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME

Reply via email to