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
(cherry picked from commit bf54a5bfba)
This commit is contained in:
Thomas Haller 2016-01-21 10:33:30 +01:00
parent 74572aa182
commit 69e8b4678d

View file

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