]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkd: allow networkd to start in early boot 4710/head
authorMartin Pitt <martin.pitt@ubuntu.com>
Tue, 22 Nov 2016 07:41:51 +0000 (08:41 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 23 Nov 2016 16:05:11 +0000 (17:05 +0100)
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

units/systemd-networkd.service.m4.in

index a968d8bd45d2ea37c2b7ca56ad7d9dc129a7e778..d1cf3fc133ddd191b222c78d8fe4bdc7a60f77e6 100644 (file)
@@ -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