systemd: add "After=dbus.service" to NetworkManager.service
authorThomas Haller <thaller@redhat.com>
Thu, 21 Jan 2016 09:33:30 +0000 (10:33 +0100)
committerThomas Haller <thaller@redhat.com>
Thu, 21 Jan 2016 10:01:36 +0000 (11:01 +0100)
Order NetworkManager after dbus. Otherwise during shutdown, both service are killed
together and possibly NetworkManager can no longer use D-Bus during shutdown. It
will need it however to communicate with VPN plugins and wpa-supplicant.

Related: https://bugs.freedesktop.org/show_bug.cgi?id=89847#c14
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1214466

data/NetworkManager.service.in

index 6690f5a..ba10eed 100644 (file)
@@ -1,6 +1,7 @@
 [Unit]
 Description=Network Manager
 Wants=network.target
+After=dbus.service
 Before=network.target @DISTRO_NETWORK_SERVICE@
 
 [Service]