Your message dated Sun, 05 Sep 2021 23:05:47 +0000
with message-id <e1mn1ct-0002pq...@fasolo.debian.org>
and subject line Bug#993658: fixed in qemu 1:6.1+dfsg-5
has caused the Debian Bug report #993658,
regarding qemu-user-static does not work through binfmt since 6.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
993658: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993658
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: qemu-user-static
Version: 1:6.1+dfsg-4
Severity: critical

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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:

 13:23 ❱ cat /proc/sys/fs/binfmt_misc/qemu-aarch64
enabled
interpreter /usr/libexec/qemu-binfmt/aarch64-binfmt-P
flags: POCF
offset 0
magic 7f454c460201010000000000000000000200b700
mask ffffffffffffff00fffffffffffffffffeffffff
 13:23 ❱ ./bin/busybox ls
BusyBox v1.30.1 (Debian 1:1.30.1-7) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed
copyright notices.
[...]
 13:25 ❱ file bin/busybox
bin/busybox: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), 
statically linked, BuildID[sha1]=6a67fd6d086c703062f3be2d751adf619aa67bc6, for 
GNU/Linux 3.7.0, stripped

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
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.

 13:30 ❱ cat /proc/sys/fs/binfmt_misc/qemu-aarch64
enabled
interpreter /usr/libexec/qemu-binfmt/aarch64-binfmt-P
flags: POCF
offset 0
magic 7f454c460201010000000000000000000200b700
mask ffffffffffffff00fffffffffffffffffeffffff
 13:31 ❱ ./bin/busybox ls
bin  usr


- -- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
(101, 'experimental-debug'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.13.0-trunk-amd64 (SMP w/12 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

qemu-user-static depends on no packages.

Versions of packages qemu-user-static recommends:
ii  binfmt-support  2.2.1-1

Versions of packages qemu-user-static suggests:
ii  sudo  1.9.5p2-3

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCAAwFiEErvI0h2bzccaJpzYAlaQv6DU1JfkFAmEzWXASHGJlcm5hdEBk
ZWJpYW4ub3JnAAoJEJWkL+g1NSX5QgoQAKCvyj4ZvK38O+U4JczjZgEyFr1F3L91
04eRxVhienFsserUx+8qE50kQvAjFXt7iqjugF65o+UpsgC0YCG7f8Ri5KAynHWx
X5ChFgyZtjU3W9ZOs/zGBa9g2Dw8v3FcXO4AvjZnlmXHzLM7Xh7OhcmUjnQe5U1s
JPXw8tojzJA6gaqjCZRmkBuVZMfLteUSeb/yxbopdUCqlv89bFF5VyHS/Agoxj8Q
iRyo8qcyAhur/oqMe0tTCoLP9IWtisF1mO0TZoFe82qzSL/WTayn9nvJ7mhCS/s/
2PyuVa9z1z4NprnZj4f6L3DFszbIB/rlkZng1/GNd9VwAbFqlgGltHZbww1mAOhP
2+ssNF7TDWuFeNQbUwk/YJyzySM/t9fL+O21onahLOR/Hc+Z+tD0f91AdOhBOxM0
D14cqYjKiyQ3Td+N46ZyEkJXW1ThNE2PLU+tnkyXFJGOCfgVLZdPyIeyV77We/MF
9yV9Jy3XrvwuSuqaZZSmlqTp5HzY86AgfEesYTB7diyBTeFwKPE8qnNKOIBXLakG
yqH19GtqReRK4zImsQ+/0UU9qxuvrpwGgaAsClZtAxyeBLLdffsXi2kb4EAJ9B2C
HFHwSOF+zC91xm8x1wbezCJf9newuQRxvciAIPcXKmKwut9oLqI/zSDRk5LoZLwy
VjloaV/64hIA
=15C8
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Source: qemu
Source-Version: 1:6.1+dfsg-5
Done: Michael Tokarev <m...@tls.msk.ru>

We believe that the bug you reported is fixed in the latest version of
qemu, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 993...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tokarev <m...@tls.msk.ru> (supplier of updated qemu package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 06 Sep 2021 01:20:59 +0300
Source: qemu
Architecture: source
Version: 1:6.1+dfsg-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QEMU Team <pkg-qemu-de...@lists.alioth.debian.org>
Changed-By: Michael Tokarev <m...@tls.msk.ru>
Closes: 993658
Changes:
 qemu (1:6.1+dfsg-5) unstable; urgency=medium
 .
   * updated debian/patches/linux-user-binfmt-P.diff
     to work with in-kernel code
     Closes: #993658
   * d/rules: do not mark configure target as .PHONY
     since it is a real file
Checksums-Sha1:
 ed6d41a614d3df5f1d8577aae4e80cce6ba5839d 6637 qemu_6.1+dfsg-5.dsc
 96baed56a487fdd648645074cc5a952b950077a0 97256 qemu_6.1+dfsg-5.debian.tar.xz
 804cb6ae680bb9a557b2f0bec1c6c2d4a1bfa18a 10869 qemu_6.1+dfsg-5_source.buildinfo
Checksums-Sha256:
 cc24f384e4134039647e65209af252b2c1c7dd255d149dd0d615857c0fcf1388 6637 
qemu_6.1+dfsg-5.dsc
 53e2eee961775840486b80ba3339b862e263b56a52a267a4716f3ca2f9fea54f 97256 
qemu_6.1+dfsg-5.debian.tar.xz
 13692551c178cc3468480f7e55eb35818d192fa7eb1abc55e3d13eed4563e0c0 10869 
qemu_6.1+dfsg-5_source.buildinfo
Files:
 416670421295120c0cc6dd20a3bc4e0e 6637 otherosfs optional qemu_6.1+dfsg-5.dsc
 112e67537b8b27ee53e5ee0f53feb2dc 97256 otherosfs optional 
qemu_6.1+dfsg-5.debian.tar.xz
 0d8a1024b85b1aa32781a27542ccf93a 10869 otherosfs optional 
qemu_6.1+dfsg-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQFDBAEBCAAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAmE1Qz0PHG1qdEB0bHMu
bXNrLnJ1AAoJEHAbT2saaT5ZWbgH/jrci33ij0g0HydxVFel0FC/afl9Oq5OG4PY
zCqpFsZ5F4mZtYLUif0Bh6lIM+86LY746PS9xQc+x5xPKxD0LF35smnfcJNSGxiY
iRm5t8xQxxhE85MaHZ8vf6014mStPRrGHE2MOx4gNC3OoRIKSk3DHyoSzsEXHOx2
kCshOmcw0xQoePJo6A9rZMpJu9aJ4tV0n4CTFr1PEUBP2BaPtm5ASBn/Wo+MkpHw
77GP5jKrrwU1sKJ3kYMQOSsQYn8F52VPqJza4kqbVb7weJkPoMvu+9kdfrW9pmn8
qm1SEws5qbx4nCtBJbFeu3LtcbBFPlhrNi0FMj+IJEqRvsHtdXY=
=Vwgo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to