Skip to content

Commit a99741d

Browse files
tjjh89017taraschornyiplv
authored andcommitted
fix start networking.service before network is marked online
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) Signed-off-by: Date Huang <tjjh89017@hotmail.com>
1 parent 4495765 commit a99741d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[Unit]
2-
After=network-pre.target
2+
After=local-fs.target network-pre.target
3+
Before=shutdown.target network.target network-online.target

0 commit comments

Comments
 (0)