Recent update of systemd stalls the boot on HiFive Unmatched for 2 minutes

Bug #2036598 reported by Ron Economos
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Confirmed
High
Unassigned

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

Revision history for this message
Nick Rosbrook (enr0n) wrote :

Thanks for your report. We have seen a similar report in bug 2036358. Before I mark it as duplicate, can you please provide output from the following commands:

$ networkctl
$ SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd-wait-online --timeout=10

Changed in systemd (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Ron Economos (w6rz) wrote :

$ networkctl
IDX LINK TYPE OPERATIONAL SETUP
  1 lo loopback carrier unmanaged
  2 eth0 ether routable configured

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.

Revision history for this message
Ron Economos (w6rz) wrote :

Just a note, I did add --timeout=10 to systemd-networkd-wait-online.service to mitigate the issue.

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

On SiFive HiFive Unmatched with Ubuntu Mantic (23.10):

$ uname -a
Linux unmatched2 6.2.0-19-generic

grep -n wait-online /var/log/syslog
2023-09-19T13:38:34.120018+00:00 unmatched2 systemd[1]: Starting systemd-networkd-wait-online.service - Wait for Network to be Configured...
2023-09-19T13:38:36.306411+00:00 unmatched2 systemd[1]: Starting NetworkManager-wait-online.service - Network Manager Wait Online...

$ networkctl
IDX LINK TYPE OPERATIONAL SETUP
  1 lo loopback carrier unmanaged
  2 end0 ether routable configured

2 links listed.
$ SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd-wait-online --timeout=10
Found link lo(1)
Found link end0(2)
lo: link is ignored
end0: link is configured by networkd and online.

Revision history for this message
Nick Rosbrook (enr0n) wrote :

Thanks for the additional information. I am going to mark this bug as a duplicate to consolidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.