systemd: add "After=dbus.service" to NetworkManager.service

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
This commit is contained in:
Thomas Haller 2016-01-21 10:33:30 +01:00
parent 64ac910131
commit bf54a5bfba

View file

@ -1,6 +1,7 @@
[Unit]
Description=Network Manager
Wants=network.target
After=dbus.service
Before=network.target @DISTRO_NETWORK_SERVICE@
[Service]