[Touch-packages] [Bug 2036358] Re: systemd wait-online now times out after jammy and lunar upgrade
Tested 249.11-0ubuntu3.11 on Ubuntu 22.04 (jammy) for riscv64 (HiFive Unmatched). The system now boots normally. $ SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd-wait-online --timeout=10 rtnl: message parse - overwriting repeated attribute Found link 2 Found link 1 eth0: link is ignored lo: link is ignored LGTM. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/2036358 Title: systemd wait-online now times out after jammy and lunar upgrade Status in systemd package in Ubuntu: Invalid Status in systemd source package in Jammy: Fix Committed Status in systemd source package in Lunar: Fix Committed Bug description: [Impact] When all interfaces are "not required for online", e.g. when they are marked "optional: true" in netplan, systemd-networkd-wait-online will timeout. Or, in other words, systemd-networkd-wait-online will timeout even though all interfaces are ignored, hence none of them will ever be marked as "ready." Depending on what units depend on network- online.target, this can delay boot by 120 seconds (the default timeout for systemd-networkd-wait-online). [Test Plan] 1. Create a new LXD container. These instructions assume jammy is the release, but the same can be done for lunar. $ lxc launch ubuntu-daily:jammy jammy $ lxc exec jammy bash 2. Once in the container, modify the default /etc/netplan/10-lxc.yaml so that eth0 is configured with "optional: true": $ vi /etc/netplan/10-lxc.yaml # Use whatever editor you like $ cat /etc/netplan/10-lxc.yaml network: version: 2 ethernets: eth0: dhcp4: true dhcp-identifier: mac optional: true 3. Re-generate and apply the netplan configuration. $ netplan generate $ netplan apply 4. Manually run systemd-networkd-wait-online, and observe that all links are ignored, and the command times out: $ SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd-wait-online --timeout=10 Found link lo(1) Found link eth0(19) lo: link is ignored eth0: link is ignored Timeout occurred while waiting for network connectivity. [Where problems could occur] This patch partially re-instates a patch remove in bug 1982218. However, instead of exiting if all links are unmanaged, we exit if all links are ignored in manager_configured(). If the patch was wrong, we may re-introduce bug 1982218, so as part of this SRU verification, that bug should be tested too. Any other regressions would also be related to systemd-networkd-wait-online behavior. [Original Description] On Ubuntu 22.04 desktop system using network-manager and upgrading to systemd 249.11-0ubuntu3.10, wait-online now times out which prevents logins (GDM, ssh, console) until it does time out. This seems to be introduced by the change for https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1982218. https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1982218/comments/21 also mentioned the problem on Lunar. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2036358/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2036598] Re: Recent update of systemd stalls the boot on HiFive Unmatched for 2 minutes
Just a note, I did add --timeout=10 to systemd-networkd-wait- online.service to mitigate the issue. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/2036598 Title: Recent update of systemd stalls the boot on HiFive Unmatched for 2 minutes Status in systemd package in Ubuntu: Confirmed Bug description: After the update of systemd to version 249.11-0ubuntu3.10, the boot on the HiFive Unmatched board is stalled by about 2 minutes by systemd- networkd-wait-online. The error messages from /var/log/syslog: Sep 18 08:34:49 riscv64 systemd-networkd-wait-online[2898]: Timeout occurred while waiting for network connectivity. Sep 18 08:34:49 riscv64 systemd[1]: systemd-networkd-wait-online.service: Main process exited, code=exited, status=1/FAILURE Sep 18 08:34:49 riscv64 systemd[1]: systemd-networkd-wait-online.service: Failed with result 'exit-code'. This occurs on both Ubuntu 22.04 and 23.04 for riscv64. lsb_release -rd Description: Ubuntu 22.04.3 LTS Release: 22.04 apt-cache policy systemd systemd: Installed: 249.11-0ubuntu3.10 Candidate: 249.11-0ubuntu3.10 Version table: *** 249.11-0ubuntu3.10 500 500 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main riscv64 Packages 100 /var/lib/dpkg/status 249.11-0ubuntu3.7 500 500 http://ports.ubuntu.com/ubuntu-ports jammy-security/main riscv64 Packages 249.11-0ubuntu3 500 500 http://ports.ubuntu.com/ubuntu-ports jammy/main riscv64 Packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2036598/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2036598] Re: Recent update of systemd stalls the boot on HiFive Unmatched for 2 minutes
$ networkctl IDX LINK TYPE OPERATIONAL SETUP 1 lo loopback carrier unmanaged 2 eth0 etherroutableconfigured 2 links listed. $ SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd-wait-online --timeout=10 rtnl: message parse - overwriting repeated attribute Found link 2 Found link 1 eth0: link is ignored lo: link is ignored Timeout occurred while waiting for network connectivity. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/2036598 Title: Recent update of systemd stalls the boot on HiFive Unmatched for 2 minutes Status in systemd package in Ubuntu: Confirmed Bug description: After the update of systemd to version 249.11-0ubuntu3.10, the boot on the HiFive Unmatched board is stalled by about 2 minutes by systemd- networkd-wait-online. The error messages from /var/log/syslog: Sep 18 08:34:49 riscv64 systemd-networkd-wait-online[2898]: Timeout occurred while waiting for network connectivity. Sep 18 08:34:49 riscv64 systemd[1]: systemd-networkd-wait-online.service: Main process exited, code=exited, status=1/FAILURE Sep 18 08:34:49 riscv64 systemd[1]: systemd-networkd-wait-online.service: Failed with result 'exit-code'. This occurs on both Ubuntu 22.04 and 23.04 for riscv64. lsb_release -rd Description: Ubuntu 22.04.3 LTS Release: 22.04 apt-cache policy systemd systemd: Installed: 249.11-0ubuntu3.10 Candidate: 249.11-0ubuntu3.10 Version table: *** 249.11-0ubuntu3.10 500 500 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main riscv64 Packages 100 /var/lib/dpkg/status 249.11-0ubuntu3.7 500 500 http://ports.ubuntu.com/ubuntu-ports jammy-security/main riscv64 Packages 249.11-0ubuntu3 500 500 http://ports.ubuntu.com/ubuntu-ports jammy/main riscv64 Packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2036598/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 2036598] [NEW] Recent update of systemd stalls the boot on HiFive Unmatched for 2 minutes
Public bug reported: After the update of systemd to version 249.11-0ubuntu3.10, the boot on the HiFive Unmatched board is stalled by about 2 minutes by systemd- networkd-wait-online. The error messages from /var/log/syslog: Sep 18 08:34:49 riscv64 systemd-networkd-wait-online[2898]: Timeout occurred while waiting for network connectivity. Sep 18 08:34:49 riscv64 systemd[1]: systemd-networkd-wait-online.service: Main process exited, code=exited, status=1/FAILURE Sep 18 08:34:49 riscv64 systemd[1]: systemd-networkd-wait-online.service: Failed with result 'exit-code'. This occurs on both Ubuntu 22.04 and 23.04 for riscv64. lsb_release -rd Description:Ubuntu 22.04.3 LTS Release:22.04 apt-cache policy systemd systemd: Installed: 249.11-0ubuntu3.10 Candidate: 249.11-0ubuntu3.10 Version table: *** 249.11-0ubuntu3.10 500 500 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main riscv64 Packages 100 /var/lib/dpkg/status 249.11-0ubuntu3.7 500 500 http://ports.ubuntu.com/ubuntu-ports jammy-security/main riscv64 Packages 249.11-0ubuntu3 500 500 http://ports.ubuntu.com/ubuntu-ports jammy/main riscv64 Packages ** Affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/2036598 Title: Recent update of systemd stalls the boot on HiFive Unmatched for 2 minutes Status in systemd package in Ubuntu: New Bug description: After the update of systemd to version 249.11-0ubuntu3.10, the boot on the HiFive Unmatched board is stalled by about 2 minutes by systemd- networkd-wait-online. The error messages from /var/log/syslog: Sep 18 08:34:49 riscv64 systemd-networkd-wait-online[2898]: Timeout occurred while waiting for network connectivity. Sep 18 08:34:49 riscv64 systemd[1]: systemd-networkd-wait-online.service: Main process exited, code=exited, status=1/FAILURE Sep 18 08:34:49 riscv64 systemd[1]: systemd-networkd-wait-online.service: Failed with result 'exit-code'. This occurs on both Ubuntu 22.04 and 23.04 for riscv64. lsb_release -rd Description: Ubuntu 22.04.3 LTS Release: 22.04 apt-cache policy systemd systemd: Installed: 249.11-0ubuntu3.10 Candidate: 249.11-0ubuntu3.10 Version table: *** 249.11-0ubuntu3.10 500 500 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main riscv64 Packages 100 /var/lib/dpkg/status 249.11-0ubuntu3.7 500 500 http://ports.ubuntu.com/ubuntu-ports jammy-security/main riscv64 Packages 249.11-0ubuntu3 500 500 http://ports.ubuntu.com/ubuntu-ports jammy/main riscv64 Packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2036598/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp