Bug#1111791: Acknowledgement (systemd: network-online.target reached before IPv6 address is ready)
Noah Meyerhans
noahm at debian.org
Wed Aug 27 15:06:54 BST 2025
On Fri, Aug 22, 2025 at 12:09:37PM -0300, Marcelo Gondim wrote:
> Hi All,
>
> I tested here by switching from ifupdown to systemd-networkd and the system
> worked perfectly. Do you recommend that I start using systemd-networkd on
> the servers instead of ifupdown?
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.
noah
More information about the Pkg-systemd-maintainers
mailing list