Systemd fails to install on Noble arm64
Bug #2054901 reported by
Joshua
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://
Description: Ubuntu 20.04.6 LTS
Release: 20.04
systemd:
Installed: (none)
Candidate: 255.2-3ubuntu2
Version table:
255.2-3ubuntu2 500
500 http://
tags: | added: arm64 focal |
To post a comment you must log in.
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.