From 66b3e628f2bf0ec8f23b0b42484d014e5cad23bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 5 Dec 2020 18:13:27 +0100 Subject: [PATCH] Order NetworkManager after qubes-network-uplink.service Make sure NM config for uplink interface (eth0) is created before starting NetworkManager itself. Otherwise NM helpfully will try to use automatic DHCP configuration, which will fail and cause delays on network start. --- vm-systemd/NetworkManager.service.d/30_qubes.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vm-systemd/NetworkManager.service.d/30_qubes.conf b/vm-systemd/NetworkManager.service.d/30_qubes.conf index 047cc22..5f598a1 100644 --- a/vm-systemd/NetworkManager.service.d/30_qubes.conf +++ b/vm-systemd/NetworkManager.service.d/30_qubes.conf @@ -4,6 +4,8 @@ ConditionPathExists=/var/run/qubes-service/network-manager After=qubes-mount-dirs.service # For /var/run/qubes-service After=qubes-sysinit.service +# For configuration of qubes-provided interfaces +After=qubes-network-uplink.service [Service] ExecStartPre=/usr/lib/qubes/network-manager-prepare-conf-dir