Re: bullseye: systemd-networkd-wait-online timeouts
Hi Jochen,
On Wed, Aug 18, 2021 at 09:36:30PM +0200, Jochen Spieker wrote:
> Aug 18 10:59:20 h2907737 systemd-networkd-wait-online[936688]: Event loop failed: Connection timed out
> Aug 18 10:59:20 h2907737 apt-helper[936686]: E: Sub-process /lib/systemd/systemd-networkd-wait-online returned an error code (1)
>
> For some reason systemd does not (fully?) recognize that the system is
> online.
I don't know yet about bullseye but in buster systemd does assume
that you are online when using ifupdown unless you enable the
"ifupdown-wait-online" service, which actually waits for every
interface marked auto be be ready before allowing "network-online"
target to be reached.
Is that service enabled? If you disable it, what happens? I expect
systemd to assume it is online.
Also are you absolutely sure that you aren't using systemd-networkd
and/or NetworkManager and there isn't any .link files for systemd
anywhere, that it's purely ifupdown?
May be worth asking your hosting provider as well because uf they
are mandating how your /etc/network/interfaces looks (and its use)
then they need to know how to make it play nice with systemd in
Debian 11.
Cheers,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
Reply to: