[systemd-devel] does "Before=network.target" really work
Lennart Poettering
lennart at poettering.net
Wed Jul 6 04:41:56 UTC 2016
On Fri, 24.06.16 18:53, Xin Long (lucien.xin at gmail.com) wrote:
>
> but I can find some services are truly using it now:
> $ grep "Before=network.target" . -R
> ./wpa_supplicant.service:Before=network.target
> ./NetworkManager.service:Before=network.target
> ./NetworkManager-wait-online.service:Before=network.target network-online.target
> ./arp-ethers.service:Before=network.target
> ./firewalld.service:Before=network.target
The line for firewalld appears wrong btw. The firewall should really
be up before the network is even initiated. Hence it should be
Before=network-pre.target.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list