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
This commit is contained in:
Rusty Bird 2016-06-30 15:41:14 +00:00
parent 191b2a4cd9
commit ca03e093f7
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[Unit]
Description=Qubes misc post-boot actions
After=qubes-dvm.service qubes-mount-dirs.service
After=network-pre.target qubes-dvm.service qubes-mount-dirs.service
[Service]
Type=oneshot

View File

@ -1,7 +1,7 @@
[Unit]
Description=Qubes network monitor
ConditionPathExists=/var/run/qubes-service/qubes-netwatcher
After=qubes-firewall.service
After=network-pre.target qubes-firewall.service
[Service]
ExecStart=/usr/sbin/qubes-netwatcher

View File

@ -2,7 +2,7 @@
Description=Qubes network forwarding setup
ConditionPathExists=/var/run/qubes-service/qubes-network
Before=network.target
After=qubes-iptables.service
After=network-pre.target qubes-iptables.service
[Service]
Type=oneshot