-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
systemd networkd configuration broken #6655
Comments
|
Something is buggy with the current configuration, since it works OK without it... $ cat /etc/systemd/network/10-eth1.network
[Match]
Name=eth1
Virtualization=qemu
[Network]
DHCP=ipv4
[DHCP]
UseDNS=false
$ cat /etc/systemd/network/20-dhcp.network
[Match]
Name=eth*
[Network]
DHCP=ipv4
[DHCP]
ClientIdentifier=mac |
This is probably not the configuration, but more like bugs in systemd 240. |
Needs to have fixes backported, won't get an updated systemd until next OS upgrade. https://github.com/systemd/systemd/commits/master/src/network/networkd-dhcp4.c |
Well, it is a little happier at least:
But it still times out and fails. :-( |
Another important fix: EDIT: Did not seem to help, must be something else that is blocking the configure/complete. |
Probably same as systemd/systemd#8686 |
As per workarounds, this made it start: [Network]
DHCP=ipv4
LinkLocalAddressing=no $ networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 eth0 ether routable configured
3 eth1 ether routable configured
4 sit0 sit carrier unmanaged
5 mybridge bridge carrier unmanaged
6 veth205f338c ether carrier unmanaged
7 veth9a5b12ae ether carrier unmanaged
7 links listed. Apparently it defaults to |
The
eth0
andeth1
don't come up correctly innetworkctl
, at least not in VirtualBox.This is a problem when you have another systemd unit that waits for
network-online
It will wait for 2 minutes (120 seconds), and then fail with a timeout - the "dead" above.
For this reason, CRI-O is slow to start.
See cri-o/cri-o@ebf507d
Our Docker unit just waits on "network"
minikube docker.service:
docker.com docker.service:
See moby/moby@dfa4e77
The text was updated successfully, but these errors were encountered: