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

Noah Meyerhans noahm at debian.org
Wed Aug 27 15:55:16 BST 2025


On Wed, Aug 27, 2025 at 10:32:32AM -0400, Nick Rosbrook 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.

Yes, that's correct. I missed the static configuration detail earlier.
What I wrote pertains to dynamic assignment.

noah



More information about the Pkg-systemd-maintainers mailing list