And here's test A:

ubuntu@anuchin:~$ cat /etc/systemd/network/20-enP2p1s0f2.network
[Match]
Name=enP2p1s0f3

[Network]
DHCP=ipv4

[DHCP]
UseRoutes=false
ubuntu@anuchin:~$ dpkg-query -W systemd
systemd 237-3ubuntu10.19
ubuntu@anuchin:~$ systemctl status systemd-networkd-wait-online
● systemd-networkd-wait-online.service - Wait for Network to be Configured
   Loaded: loaded (/lib/systemd/system/systemd-networkd-wait-online.service; ena
   Active: failed (Result: exit-code) since Tue 2019-04-16 17:14:07 UTC; 3min 4s
     Docs: man:systemd-networkd-wait-online.service(8)
  Process: 1345 ExecStart=/lib/systemd/systemd-networkd-wait-online (code=exited
 Main PID: 1345 (code=exited, status=1/FAILURE)

Apr 16 17:12:08 anuchin systemd[1]: Starting Wait for Network to be Configured..
Apr 16 17:14:07 anuchin systemd-networkd-wait-online[1345]: Event loop failed: C
Apr 16 17:14:07 anuchin systemd[1]: systemd-networkd-wait-online.service: Main p
Apr 16 17:14:07 anuchin systemd[1]: systemd-networkd-wait-online.service: Failed
Apr 16 17:14:07 anuchin systemd[1]: Failed to start Wait for Network to be Confi


After Upgrade/reboot:
ubuntu@anuchin:~$ dpkg-query -W systemd
systemd 237-3ubuntu10.21
ubuntu@anuchin:~$ systemctl status systemd-networkd-wait-online
● systemd-networkd-wait-online.service - Wait for Network to be Configured
   Loaded: loaded (/lib/systemd/system/systemd-networkd-wait-online.service; ena
   Active: active (exited) since Tue 2019-04-16 17:20:18 UTC; 4min 14s ago
     Docs: man:systemd-networkd-wait-online.service(8)
  Process: 1403 ExecStart=/lib/systemd/systemd-networkd-wait-online (code=exited
 Main PID: 1403 (code=exited, status=0/SUCCESS)

Apr 16 17:20:13 anuchin systemd[1]: Starting Wait for Network to be Configured..
Apr 16 17:20:18 anuchin systemd-networkd-wait-online[1403]: managing: enP2p1s0f2
Apr 16 17:20:18 anuchin systemd-networkd-wait-online[1403]: ignoring: lo
Apr 16 17:20:18 anuchin systemd-networkd-wait-online[1403]: managing: enP2p1s0f3
Apr 16 17:20:18 anuchin systemd[1]: Started Wait for Network to be Configured.


** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

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

Title:
  netplan dhcp interface with no default route causes systemd-networkd-
  wait-online to hang

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

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

Reply via email to