Public bug reported:

Ubuntu 22.04 Server

Package nfs-common/nfs-utils provides /etc/nfs.conf and 
/lib/systemd/system/rpc-gssd.service.
/etc/nfs.conf (and seems to be copied from 
/usr/share/nfs-common/conffiles/nfs.conf) has the configuration:
...
[general]
pipefs-directory=/run/rpc_pipefs
...

When attempting to start rpc-gssd it gives the following error:
...
ERROR: opendir(/run/rpc_pipefs) failed: No such file or directory
...

There is a systemd unit called var-lib-nfs-rpc_pipefs.mount which mounts
this directory as /var/lib/nfs/rpc_pipefs. However this does not match
with the configuration in nfs.conf

It's worth mentioning that sometimes it seems a systemd unit is
generated (run-rpc_pipefs.mount) which ensures /run/rpc_pipefs is
created and everything works as expected. Seems to be random.

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- Package nfs-common/nfs-utils provides /etc/nfs.conf and 
/lib/systemd/system/rpc-gssd.service. 
+ Ubuntu 22.04 Server
+ 
+ Package nfs-common/nfs-utils provides /etc/nfs.conf and 
/lib/systemd/system/rpc-gssd.service.
  /etc/nfs.conf (and seems to be copied from 
/usr/share/nfs-common/conffiles/nfs.conf) has the configuration:
  ...
  [general]
  pipefs-directory=/run/rpc_pipefs
  ...
  
-  
  When attempting to start rpc-gssd it gives the following error:
  ...
  ERROR: opendir(/run/rpc_pipefs) failed: No such file or directory
  ...
  
  There is a systemd unit called var-lib-nfs-rpc_pipefs.mount which mounts
  this directory as /var/lib/nfs/rpc_pipefs. However this does not match
  with the configuration in nfs.conf
  
  It's worth mentioning that sometimes it seems a systemd unit is
  generated (run-rpc_pipefs.mount) which ensures /run/rpc_pipefs is
  created and everything works as expected. Seems to be random.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971935

Title:
  Invalid pipefs-directory prevents rpc-gssd.service from starting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1971935/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to