[systemd-devel] Synchronization Between Services at Shutdown

Lennart Poettering lennart at poettering.net
Fri Apr 3 05:06:19 PDT 2015


On Thu, 02.04.15 16:31, Martin Pitt (martin.pitt at ubuntu.com) wrote:

> 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.

Well, it sounds really wrong btw, if NM shuts down the ifaces just
because it got kicked off the bus... That's massively wrong.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list