2015-04-02 13:03 GMT+02:00 Lennart Poettering <lenn...@poettering.net>: > On Thu, 02.04.15 13:00, Michael Biebl (mbi...@gmail.com) wrote: > >> 2015-04-02 11:06 GMT+02:00 Lennart Poettering <lenn...@poettering.net>: >> > If you want to ensure that bus communication still works in your >> > shutdown code, you hence need to make sure you place >> > After=dbus.service in your services, so that you are shut down before >> > dbus is. >> >> Type=dbus service currently only get a dependency on dbus.socket (via >> After=basic.target). > > Yeah, and rightfully so. I mean, a service really should be able to > shutdown if dbus is dead. In fact, it should be able to shutdown in > pretty much any situation...
Apparently they don't. There were all sorts of failures caused by dbus being shut down too early. https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1438612 is one of the related bug reports afair. Since Martin has been working on this, I'll let him comment on this. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel