Since https://cloud-images.ubuntu.com/resolute/20260328/ , the first
boot of Ubuntu 26.04 is delayed by two minutes as `systemd-networkd-
wait-online.service` hangs due to the failure of renaming the network
interface.

```
$ limactl -v
limactl version 2.1.2

$ limactl start --plain template:ubuntu-26.04 
[...]
INFO[0128] READY. Run `ssh -F "/Users/suda/.lima/ubuntu-26.04/ssh.config" 
lima-ubuntu-26-04` to open the shell. 

$ limactl shell ubuntu-26.04 sudo journalctl --no-pager -u 
systemd-networkd-wait-online.service
Jun 01 21:02:18 localhost systemd[1]: systemd-networkd-wait-online.service - 
Wait for Network to be Online skipped, unmet condition check 
ConditionPathExists=/run/networkd/initrd/neednet
Jun 01 21:02:21 lima-ubuntu-26-04 systemd[1]: Starting 
systemd-networkd-wait-online.service - Wait for Network to be Online...
Jun 01 21:04:22 lima-ubuntu-26-04 systemd-networkd-wait-online[1343]: Timeout 
occurred while waiting for network connectivity.
Jun 01 21:04:22 lima-ubuntu-26-04 systemd[1]: 
systemd-networkd-wait-online.service: Main process exited, code=exited, 
status=1/FAILURE
Jun 01 21:04:22 lima-ubuntu-26-04 systemd[1]: 
systemd-networkd-wait-online.service: Failed with result 'exit-code'.
Jun 01 21:04:22 lima-ubuntu-26-04 systemd[1]: Failed to start 
systemd-networkd-wait-online.service - Wait for Network to be Online.
```

This issue seems to happen only for the first boot on Lima.
https://github.com/lima-vm/lima/issues/4792

** Bug watch added: github.com/lima-vm/lima/issues #4792
   https://github.com/lima-vm/lima/issues/4792

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2136392

Title:
  Rename of interfaces broken at boot time (netplan-configure.service vs
  cloud-init-network.service)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2136392/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to