[Bug 1971935] Re: Invalid pipefs-directory prevents rpc-gssd.service from starting

Andreas Hasenack 1971935 at bugs.launchpad.net
Fri Jun 24 21:43:19 UTC 2022


When this happens, do you guys have rpc_pipefs mounted somewhere, or not
at all? I'm really struggling to reproduce this, as the generator kicks
in right after nfs-common is installed if the nfs.conf config specifies
a pipefs mountpoint other than /var/lib/nfs/rpc_pipefs

Could you have something that is preventing systemctl daemon-reload from
running, or some services from starting automatically? Perhaps a
https://people.debian.org/~hmh/invokerc.d-policyrc.d-specification.txt
file/script? Could puppet be doing something in that regard, perhaps
trying to optimize an installation and group postinst scripts together
at the end?

Stefan, are you also seeing this during some provisioning, or with
manual installs?

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

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

Status in nfs-utils package in Ubuntu:
  In Progress

Bug description:
  Ubuntu 22.04 Server
  Package version: 1:2.6.1-1ubuntu1

  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.

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




More information about the foundations-bugs mailing list