04.09.2021 14:33, Vincent Bernat wrote:
> Package: qemu-user-static
> Version: 1:6.1+dfsg-4
> Severity: critical
>
Hey!

Since 6.0, qemu-user-static does not seem to work properly through
binfmt. I am a bit lost on how to diagnose that:
...
When invoked through binfmt, the binaries seem to go from "I display
something wrong" to "I will wipe your entire home". That's what
happened to me when using cowbuilder. The chroot was not able to be

Ouch.

setup correctly and during the clean phase, cowbuilder did not detect
the bind mount and/or was not able to undo them, rm -rfing everything
that was mounted.

Downgrading qemu-user-static to 1:5.2+dfsg-11 fixes the issue.
...
Kernel: Linux 5.13.0-trunk-amd64 (SMP w/12 CPU threads)

Can you please check if it works with not-so-fresh kernel
(eg the one from bullseye)?

I wont able to do this until late evening today.

I'm guessing this is the upstream way to detect if we were
called from binfmt subsystem (they done it within kernel)
interferes with my way of doing the same without touching
the kernel. Kernel side is a recent addition.

Thanks!

/mjt

Reply via email to