Bug#798314: systemd: Systemd waits 30 minutes to shut down because of NFS share

Michael Biebl biebl at debian.org
Thu Sep 10 16:01:11 BST 2015


Am 10.09.2015 um 16:50 schrieb Michael Biebl:
> Am 10.09.2015 um 16:19 schrieb Javier Ayres:

>> Can't the service which mounts/unmounts NFS (not sure which one that is) be
>> put after NetworkManager?
> 
> I guess you mean *before*. But well, as I tried to explain, currently
> that doesn't work in Debian since we can't order NetworkManager.service
> before network.target.
> 
> Doing that should ensure that NetworkManager.service is stopped after
> the NFS shares have been unmounted.

So, systemd in unstable/testing allows one to specify additional
dependencies for mount units. See systemd.mount → x-systemd.requires=

You could try and add x-systemd.requires=NetworkManager.service

This is a hack though, and NOT a proper solution!


-- 
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: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150910/23e2e800/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list