Bug#947158: systemd: After=network.target is ineffective
Michael Biebl
biebl at debian.org
Sun Dec 22 15:16:59 GMT 2019
Am 22.12.19 um 07:51 schrieb Paul Szabo:
> Package: systemd
> Version: 241-7~deb10u2
> Severity: normal
> Tags: patch
>
> Lately (since buster?) I observe that "After=network.target" is ineffective,
> maybe because dhcpcd runs asynchronously. I seem to get good results by
> creating a file
>
> /etc/network/if-up.d/00waitup
>
If you want to order a service after network is up,
network-online.target is a more suitable target.
If you are using ifupdown to configure your network, you probably want
to use "auto" and not allow-hotplug and/or enable ifupdown's
ifupdown-wait-online.service unit
More information about the Pkg-systemd-maintainers
mailing list