Bug#1111791: Acknowledgement (systemd: network-online.target reached before IPv6 address is ready)

Nick Rosbrook nick.rosbrook at canonical.com
Wed Aug 27 15:32:32 BST 2025


On Wed, Aug 27, 2025 at 10:09 AM Noah Meyerhans <noahm at debian.org> wrote:

> Note that the default behavior of systemd-networkd-wait-online is to
> wait for any protocol to be configured.  If you want to specifically
> require IPv6, you'll need to pass `--ipv6` via the commandline (using a
> systemd drop-in, probably) or add `RequiredFamilyForOnline=ipv6` to the
> interface's [Link] section.  Otherwise you're just getting lucky that
> this is working for you, probably just based on timing of some
> configuration events.

Before systemd-networkd-wait-online looks at configured address
families, it waits for the link state to be "configured". If a static
IPv6 address is requested in the configuration, the link state will
not be "configured" until the static address is set.



More information about the Pkg-systemd-maintainers mailing list