units: networkd - order after udev
This way we are sure that /dev/net/tun has been given the right permissions before we try to connect to it. Ideally, we should create tun/tap devices over netlink, and then this whole issue would go away.
This commit is contained in:
@@ -10,7 +10,9 @@ Description=Network Service
|
||||
Documentation=man:systemd-networkd.service(8)
|
||||
ConditionCapability=CAP_NET_ADMIN
|
||||
DefaultDependencies=no
|
||||
After=dbus.service network-pre.target systemd-sysusers.service
|
||||
# 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
|
||||
Before=network.target multi-user.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
Wants=network.target
|
||||
|
||||
Reference in New Issue
Block a user