severity 604712 serious
found 604712 0.12.5+dfsg-2
tags 604712 patch
thanks

On Fri, Nov 26, 2010 at 09:04:00PM +0100, Jakub Wilk wrote:
> * Vagrant Cascadian <vagr...@freegeek.org>, 2010-11-26, 11:36:
> >>On an i386 system with x86-64 kernel, if both qemu-user-static
> >>and binfmt-support are installed, amd64 binaries are run through
> >>qemu even if the kernel could run them natively. This breaks
> >>e.g.  debootstrap, which fail in a mysterious way (AFAIUI
> >>because qemu cannot be found inside the chroot), giving a user
> >>no clue what went wrong.
...
> Please note that I was complaining about amd64 emulation on i386 system:
> 
> $ dpkg -c qemu-user-static_0.13.0+dfsg-2_i386.deb | grep binfmt.*x86
> -rw-r--r-- root/root       248 2010-10-24 19:57 
> ./usr/share/binfmts/qemu-x86_64

ah. that's more complex indeed.

raising the severity, since this breaks other unrelated software.

considering that the x86_64 emulation doesn't really work with qemu-user-static
on i386 yet, it may be best to disble that... (are there other similar
combinations with other architectures?)

--- debian/rules        2010-11-26 15:12:44.000000000 -0800
+++ debian/rules.orig   2010-11-26 15:12:21.000000000 -0800
@@ -42,7 +42,7 @@
 BINFMT_TARGETS=$(filter-out arm, $(ALL_BINFMT_TARGETS))
 endif
 ifeq ($(DEB_HOST_ARCH),i386)
-BINFMT_TARGETS=$(filter-out i386 x86_64, $(ALL_BINFMT_TARGETS))
+BINFMT_TARGETS=$(filter-out i386, $(ALL_BINFMT_TARGETS))
 endif
 ifeq ($(DEB_HOST_ARCH),powerpc)
 BINFMT_TARGETS=$(filter-out ppc, $(ALL_BINFMT_TARGETS))


live well,
  vagrant



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to