Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #75851

Bug#1014429:

From Andreas Hasenack <andreas@canonical.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1014429:
Date 2022-07-05 23:30 +0200
Message-ID <EFYhj-9mX8-3@gated-at.bofh.it> (permalink)
References <EFXXX-9mQl-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Ok, my current theory is this, please poke holes:

autofs and nfs-common are both unpacked. Then the setup begins.

If autofs is setup first, it means systemctl daemon-reload will be
called at the end, and that will run all the generators. Since
nfs-common is already unpacked, it's generator is on disk, and will be
run.

But /etc/nfs.conf doesn't exist yet: it's produced by ucf in
nfs-common's postinst. That means the generator will not be able to
fetch the pipefs-directory config, and will just exit silently. But
autofs is being started, and it requires rpc_pipefs.target, but at
this time, that target unit is the one from the nfs-common package
that will trigger the var-lib-nfs-rpc_pipefs.mount unit.

Then nfs-common is setup. This time, it will produce /etc/nfs.conf,
and when systemctl daemon-reload is called and the generator run, it
will find /etc/nfs.conf, and the pipefs-directory setting, and see
it's different from the default, and produce the generated target and
mount files, which will mount rpc_pipefs in /run/rpc_pipefs now.

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1014429: nfs-utils: rpc_pipefs mounted twice Andreas Hasenack <andreas@canonical.com> - 2022-07-05 23:10 +0200
  Bug#1014429:  Andreas Hasenack <andreas@canonical.com> - 2022-07-05 23:30 +0200
  Bug#1014429:  Andreas Hasenack <andreas@canonical.com> - 2022-07-21 21:20 +0200
  Bug#1014429: marked as done (nfs-utils: rpc_pipefs mounted twice) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-07-09 11:00 +0200

csiph-web