mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
networking.service: fix start networking.service before network is marked online
In debian 10, ifupdown2 didn't ensure that it will start before network.target and network-online.target. after local-fs.target because ifupdown2 need to read config file from local filesystem Other network services will not start after networking.service and fail because no interface is up. (e.g isc-dhcp-server, tftp-hpa)
This commit is contained in:
3
debian/ifupdown2.networking.service
vendored
3
debian/ifupdown2.networking.service
vendored
@ -2,7 +2,8 @@
|
||||
Description=Network initialization
|
||||
Documentation=man:interfaces(5) man:ifup(8) man:ifdown(8)
|
||||
DefaultDependencies=no
|
||||
Before=shutdown.target
|
||||
After=local-fs.target network-pre.target
|
||||
Before=shutdown.target network.target network-online.target
|
||||
Conflicts=shutdown.target
|
||||
|
||||
[Service]
|
||||
|
Reference in New Issue
Block a user