Hi Lukas,
I tested the package in your ppa with following configuration:

```
network:
        ethernets:
            all:
                dhcp4: true
                match:
                    name: e*
                optional: true
        version: 2
```

With the version `1.0-2build1` it hit the timeout even though I set all
the interfaces on my DUT(arm64) optional.

Here is the log of journalctl for relevant occurance:
```
Apr 16 11:47:11 kria systemd[1]: Starting systemd-networkd-wait-online.service 
- Wait for Network to be Configured...
Apr 16 11:49:11 kria systemd-networkd-wait-online[1055]: Timeout occurred while 
waiting for network connectivity.
Apr 16 11:49:11 kria systemd[1]: systemd-networkd-wait-online.service: Main 
process exited, code=exited, status=1/FAILURE
Apr 16 11:49:11 kria systemd[1]: systemd-networkd-wait-online.service: Failed 
with result 'exit-code'.
Apr 16 11:49:11 kria systemd[1]: Failed to start 
systemd-networkd-wait-online.service - Wait for Network to be Configured.
```

But after installing the version `1.0-2ubuntu1~ppa3`, 
`systemd-networkd-wait-online` is not triggered since all interfaces set to 
optional. Therefore no timeout
```
ubuntu@kria:~$ apt policy netplan.io
netplan.io:
  Installed: 1.0-2ubuntu1~ppa3
  Candidate: 1.0-2ubuntu1~ppa3
  Version table:
 *** 1.0-2ubuntu1~ppa3 500
        500 https://ppa.launchpadcontent.net/slyon/lp2060311/ubuntu noble/main 
arm64 Packages
        100 /var/lib/dpkg/status
     1.0-2build1 500
        500 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 Packages
```

```
ubuntu@kria:~$ journalctl -u systemd-networkd-wait-online --no-pager -b
-- No entries --
```

It looks like the package you have fixes the issue

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

Title:
  Setting "optional: true" to overcome he timeout "Job systemd-networkd-
  wait-online" does no longer work with latest noble image

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/2060311/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to