New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd-networkd-wait-online fails with bridged interfaces #2154
Comments
The interface are setup similarly to this: int.network:
lan.network:
lan.netdev:
|
Happens here too: systemd-networkd-wait-online will not detect network on a bridge interface and times out. However, it does work as expected if I boot with My enp1s0.network
br1.netdev
br1.network
Systemd-networkd.service and systemd-networkd-wait-online.service in the absence of
And when booted with
|
Same issue here. |
Same problem here. It should be able to inspect if the bridge is working the same way it does with physical connections. |
Seeing the same failure, but with bonded interface. If I exclude bond slaves, command succeeds:
I have carrier on |
This has been open for a long time now, so I've decided to write a simple workaround script which is available at https://gist.github.com/mrschyte/aa83ddad3c1d4f46308c6bb0a555af44 To set it up run
Don't forget to add / change the interfaces. Cheers! |
The problem that I see not addressed is the one where you are not configuring IP addresses on purpose. |
Also here, ugly bug, make system unusabe and boot process void: |
Please test with the recent release (v242 or newer) of systemd, and provide debugging logs if it still does not work. |
With v242 as found in OpenEmbedded/master currently I no longer see this problem. |
Looks good, as far we see. |
Thank you for testing. |
I'm experiencing this same issue when configuring a simple bridge for some QEMU machines. The Journalctl says this, and boot time is around 3 minutes... wtf:
Internet works though, but the amount of time to wait is ridiculous. Any help? Ubuntu 20.10 here.
I only have a single ethernet, but sometimes due to PCI addresses being weird when I change video cards, it gets moved to enp2s0 or enp3s0. Right now it's enp3s0 so I don't see why it should have a delay. |
Please open a new issue page with debugging logs. Please see #8686 (comment) how to generate debugging logs of networkd. |
I am having this problem. Ubuntu 22. Systemd version is 249.11-0ubuntu3.9 ... boot waits for two minutes for the network to come up. The network DOES come up quickly but systemd-networkd-wait-online doesn't notice. This issue is very old. Should I make a new one? I have a "br0" interface configured in netplan, for network redundancy and so that I can run QEMU vms in bridged mode. Contents of /etc/netplan/00-installer-config.yaml:
|
@elyograg Yeah, please open a new issue page. And, please include information I requested in the previous comment. |
I have a setup where several vlans are created and all interfaces are parts of different bridges.
Unfortunately the wait online binary fails to detect that the network is up in this case.
Error message in journal:
I suspect that this is caused by the binary calling the "manager_all_configured" function which returns true only when the operational state for a link is degraded or routable, however in my case the state is in "carrier".
I've tried to call systemd-networkd-wait-online when the system was already up with the "-i IFACE" flag for each interface, but no matter what interface is specified, the utility waits until the timeout has been reached.
The text was updated successfully, but these errors were encountered: