Systemd fails to install on Noble arm64

Bug #2054901 reported by Joshua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debootstrap (Ubuntu)
New
Undecided
Unassigned
systemd (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Hello! When trying to bootstrap a new arm64 rootfs using the upcoming Noble release the systemd post-installation script will fail. Please see the file debootstrap.log attached for package install logs.

To reproduce:
$ sudo debootstrap --no-merged-usr --arch arm64 noble rootfs http://ports.ubuntu.com/ubuntu-ports

Description: Ubuntu 20.04.6 LTS
Release: 20.04

systemd:
  Installed: (none)
  Candidate: 255.2-3ubuntu2
  Version table:
     255.2-3ubuntu2 500
        500 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 Packages

Tags: focal arm64
Revision history for this message
Joshua (jjriek) wrote :
Revision history for this message
protonic86 (protonic86) wrote (last edit ):

I ran into the same problem, but I found that it should work if bootstrapping from 22.04.

The problem appears to be due to the version of QEMU available for 20.04. The user mode emulation doesn't support OFD (open file description) locks according to: https://lists.gnu.org/archive/html/qemu-devel/2020-08/msg06566.html

It looks like that was fixed in QEMU 5.1. Since 22.04 carries QEMU 6.2, I was able to work around this issue by manually upgrading the qemu-user-static package to the 22.04 version. This actually works on 20.04 because the binaries are statically linked.

Ken Sharp (kennybobs)
tags: added: arm64 focal
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Is this still an issue? My understanding was that there was some debootstrap issue, but that this is not actually related to systemd. Not sure if anything was fixed though.

Changed in systemd (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
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.