summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-11-22 08:41:51 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2016-11-23 17:05:11 +0100
commit5f004d1e32d7b17f2f8716c779f3b925665b37aa (patch)
tree7ba1754c8b5cad205f0b5ea2a9cb09625255ce45
parentnetworkd: set DHCP-acquired timezone and hostname after connecting to D-Bus (diff)
downloadsystemd-5f004d1e32d7b17f2f8716c779f3b925665b37aa.tar.xz
systemd-5f004d1e32d7b17f2f8716c779f3b925665b37aa.zip
networkd: allow networkd to start in early boot
With the previous improvements, networkd.service's "After=dbus.service" can now be dropped. That ordering effectively forced networkd.service to run in late boot only (dbus.service was rejected to run in early boot in https://bugs.freedesktop.org/show_bug.cgi?id=98254). Fixes #4504
-rw-r--r--units/systemd-networkd.service.m4.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/units/systemd-networkd.service.m4.in b/units/systemd-networkd.service.m4.in
index a968d8bd45..d1cf3fc133 100644
--- a/units/systemd-networkd.service.m4.in
+++ b/units/systemd-networkd.service.m4.in
@@ -10,9 +10,8 @@ Description=Network Service
Documentation=man:systemd-networkd.service(8)
ConditionCapability=CAP_NET_ADMIN
DefaultDependencies=no
-# dbus.service can be dropped once on kdbus, and systemd-udevd.service can be
-# dropped once tuntap is moved to netlink
-After=systemd-udevd.service dbus.service network-pre.target systemd-sysusers.service systemd-sysctl.service
+# systemd-udevd.service can be dropped once tuntap is moved to netlink
+After=systemd-udevd.service network-pre.target systemd-sysusers.service systemd-sysctl.service
Before=network.target multi-user.target shutdown.target
Conflicts=shutdown.target
Wants=network.target