On 11/04/2017 09:48 PM, Sam Varshavchik wrote:
Looks like systemd-networkd-wait-online.service is disabled by default
in Fedora.
Given that there are packages that require all IP addresses to be
configured, and thus declare a dependency on network-online.target, it
does not seem logical for NetworkManager, if installed, to not enable
this if this was, indeed, the issue.
If the packaging guidelines are for a package dependency on
network-online.target, and especially if NetworkManager is installed by
default – as it is, then it seems wrong not to have this enabled by
default.
What would that even mean? That service has no meaning by itself. Of
course, NetworkManager will start the network interfaces even without
it. The whole purpose of that service is to delay any other services
that require the network to be started before running.
See the output of:
systemctl --before list-dependencies systemd-networkd-wait-online.service
However, the one you really should use for ensuring a service has
network available is network-online.target. That one covers more than
just NetworkManager.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx