[systemd-devel] Synchronization Between Services at Shutdown

Martin Pitt martin.pitt at ubuntu.com
Thu Apr 2 07:31:07 PDT 2015


Lennart Poettering [2015-04-02 15:31 +0200]:
> You need to order wpa_supplicant and NM Before=remote-fs-pre.target
> and pull it it via Wants=remote-fs-pre.target. With that in place
> during shutdown the mounts will be unmounted first, and NM/wpa only
> shut down after that.

wpa_supplicant and NM already have Before=network.target which is even
stronger. But that doesn't help -- it's D-Bus which we need to leave
running longer, as dbus going down early tears down all dbus clients as well
prematurely, thus rendering the above dependencies useless.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the systemd-devel mailing list