[Pkg-systemd-maintainers] Bug#719945: systemd: Hangs during shutdown (likely NFS-related)

Michael Biebl biebl at debian.org
Tue Jan 28 18:00:12 GMT 2014


Am 28.01.2014 18:43, schrieb Sam Morris:
> On Tue, Jan 28, 2014 at 05:56:24PM +0100, Michael Biebl wrote:

>> This is all a great mess under sysvinit.
>> umountnfs.service is blacklisted as mounts (also remote ones) are
>> directly handled by systemd.
> 
> Sounds good--but umountnfs.service isn't masked, it just happens not to
> run, due to its dependencies. If systemd is to manage the mounts then it
> needs to use -l and -f when deactivating NFS mounts.

That is correct: Since umountnfs is never run on boot it is not stopped
on shutdown, that's why explicitly masking was not necessary. Sorry for
not being precise in that regard.

> If systemd is intended to mount the filesystem the first place then that
> means we should somehow kill off /etc/network/if-up.d/mountnfs since it
> gets run really early (during coldplug, via /lib/udev/net.agent).

This is all pretty tricky. For now we explictly use the if-up.d
mechanism in favor of mounting remote file systems in systemd. I don't
remember all the details anymore but I know this needs some more work to
be done properly.

See also
http://anonscm.debian.org/gitweb/?p=pkg-systemd/systemd.git;a=commit;h=d1047601af94714f8e26e91c42d265d12803436a

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140128/370a11b3/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list