[PATCH 1/1] start after systemd-networkd



From: Christian Hesse <mail eworm de>

It is possible to use systemd-networkd for some general network setup
(rename devices, ...) even for devices that are managed by
NetworkManager later.
Since systemd 228 the behaviour changed that systemd-networkd drops
foreign configuration from devices. It does not change configuration
that is done after systemd-networkd has started up, though.
To prevent race conditions we order NetworkManager service to start
after systemd-networkd service.

Signed-off-by: Christian Hesse <mail eworm de>
---
 data/NetworkManager.service.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/data/NetworkManager.service.in b/data/NetworkManager.service.in
index 6690f5a..9194d4b 100644
--- a/data/NetworkManager.service.in
+++ b/data/NetworkManager.service.in
@@ -2,6 +2,7 @@
 Description=Network Manager
 Wants=network.target
 Before=network.target @DISTRO_NETWORK_SERVICE@
+After=systemd-networkd.service
 
 [Service]
 Type=dbus
-- 
2.6.2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]