Skip to content

Commit ca03e09

Browse files
author
Rusty Bird
committed
Order network management units after network-pre.target
Network management software should order itself after network-pre.target (man 7 systemd.special) so that other units can order themselves before the *beginning* of network initialization. (qubes-misc-post too because it calls setup-ip.) Relevant for QubesOS/qubes-issues#2108
1 parent 191b2a4 commit ca03e09

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

vm-systemd/qubes-misc-post.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Unit]
22
Description=Qubes misc post-boot actions
3-
After=qubes-dvm.service qubes-mount-dirs.service
3+
After=network-pre.target qubes-dvm.service qubes-mount-dirs.service
44

55
[Service]
66
Type=oneshot

vm-systemd/qubes-netwatcher.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Unit]
22
Description=Qubes network monitor
33
ConditionPathExists=/var/run/qubes-service/qubes-netwatcher
4-
After=qubes-firewall.service
4+
After=network-pre.target qubes-firewall.service
55

66
[Service]
77
ExecStart=/usr/sbin/qubes-netwatcher

vm-systemd/qubes-network.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Description=Qubes network forwarding setup
33
ConditionPathExists=/var/run/qubes-service/qubes-network
44
Before=network.target
5-
After=qubes-iptables.service
5+
After=network-pre.target qubes-iptables.service
66

77
[Service]
88
Type=oneshot

0 commit comments

Comments
 (0)