Bug#1037559: systemd-networkd-wait-online waits undefinitely if no networkd managed interfaces

Thomas Deutschmann whissi at whissi.de
Tue Nov 21 19:56:44 GMT 2023


Hi,

this bugfix caused a regression for me.

I already filed and upstream report but didn't got any attention yet, 
see https://github.com/systemd/systemd-stable/issues/335

In short:

I upraded from Debian 12.1 to Debian 12.2 using apt-get dist-upgrade 
which upgraded systemd from 252.12-1~deb12u1 to 252.17-1~deb12u1.

After reboot I noticed that systemd-networkd-wait-online.service failed.

Calling /lib/systemd/systemd-networkd-wait-online manually showed the 
same problem.

/lib/systemd/systemd-networkd-wait-online --any or 
/lib/systemd/systemd-networkd-wait-online -i eth0 works.

But systemd-networkd-wait-online should exit with success (zero exit 
code) when neither '--any' nor '--interface' options specified and
at least one of the interfaces must be in configured state.


Do you want me to fill a separate Debian bug or can we handle the 
regression in this bug which is linked to the change which caused the 
regression?


-- 
Regards,
Thomas



More information about the Pkg-systemd-maintainers mailing list