On Wed, 12 Apr 2023 17:58:38 -0400 Joey Hess <i...@joeyh.name> wrote:
Package: qemu-user-static
Version: 1:7.2+dfsg-5
Severity: normal

I got a new arm64 host at Hetzner, and needed an amd64 chroot in it.
Of course that's easy, since debootstrap --arch just works for foreign
arches with qemu-user-static installed.

I assume this is bullseye system, right?

..
If systemd by itself is supposed to somehow handle what binfmt-support
does, it did not work in my case. I had to install binfmt-support
and rerun /var/lib/dpkg/info/qemu-user-static.postinst to fix the
problem.

Did you try to restart systemd-binfmt service, or rebooting?

IIRC, systemd added triggers for /usr/lib/binfmt.d/ in a version
after bullseye one.

systemd (251.2-1) unstable; urgency=medium

  * Add dpkg file trigger for systemd-binfmt to update binfmt registrations

This stuff works just fine on bookworm or with systemd from
bullseye-backports. This is why I haven't bothered adding my
own triggers.

I guess this can be closed as fixed in version 251.2-1 :)

Thanks,

/mjt

Reply via email to