Source: qemu
Version: 1:7.0+dfsg-7
Severity: normal
X-Debbugs-Cc: jo...@debian.org

Hi,

thanks a lot for your help with #1011003, much appreciated. With the
`-cpu host` flag I now have a working workaround. Unfortunately I just
stumbled across another strange problem which I'm again able to
reproduce inside QEMU with qemu-user-mode emulation. Have a look at this
log file:

https://jenkins.debian.net/job/fakeroot-foreign-worker/645/consoleText

And search for "apt-get remove --yes qemu-user-static binfmt-support
qemu-user". This used to successfully remove qemu-user support from the
virtual machine. As you can see from a few lines below, running

    mmdebstrap --architectures=arm64 [...]

succeeds. Why? Is this because I'm now running qemu with "-cpu host"? Or
is this due to another change in qemu-user from recently?

How do I disable user-mode if removing the package isn't doing it? Do I
*additionally* have to run:

    echo 0 > /proc/sys/fs/binfmt_misc/qemu-aarch64

or

    echo 0 > /proc/sys/fs/binfmt_misc/status

I'm filing this bug because I expected package removal to also disable
it, but as evident from the log, it doesn't. Why?

Thanks!

cheers, josch

Reply via email to