Package: qemu-user-static
Version: 1.1.0+dfsg-1
Severity: normal

Dear Maintainer,

there appears to be an oversight in /usr/share/binfmts/qemu-*.  'flags' is not
known to update-binfmts:

======================================================================
joe@paranoia:~/debian/conf$ grep flags /usr/share/binfmts/qemu-*
/usr/share/binfmts/qemu-alpha:flags: OC
/usr/share/binfmts/qemu-arm:flags: OC
/usr/share/binfmts/qemu-armeb:flags: OC
/usr/share/binfmts/qemu-cris:flags: OC
/usr/share/binfmts/qemu-m68k:flags: OC
/usr/share/binfmts/qemu-microblaze:flags: OC
/usr/share/binfmts/qemu-mips:flags: OC
/usr/share/binfmts/qemu-mipsel:flags: OC
/usr/share/binfmts/qemu-ppc:flags: OC
/usr/share/binfmts/qemu-ppc64:flags: OC
/usr/share/binfmts/qemu-ppc64abi32:flags: OC
/usr/share/binfmts/qemu-s390x:flags: OC
/usr/share/binfmts/qemu-sh4:flags: OC
/usr/share/binfmts/qemu-sh4eb:flags: OC
/usr/share/binfmts/qemu-sparc:flags: OC
/usr/share/binfmts/qemu-sparc32plus:flags: OC
/usr/share/binfmts/qemu-sparc64:flags: OC
======================================================================

The effect of this is that, I can't run setuid binaries e.g. in foreign-arch
chroots (I noticed this problem when trying 'su' in a mips chroot on an i386
host).

Replacing 'flags: OC' with 'credentials yes' fixes the issue for me.

NOTE: There appears to be a bug in update-binfmts, such that one needs to run
      'update-binfmts --import' twice for changes to become effective, which
      is quite confusing when debugging.

Thanks,
Jö.

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'testing'), (990, 'stable'), (1, 
'testing-proposed-updates'), (1, 'stable-updates'), (1, 'proposed-updates'), 
(1, 'testing'), (1, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

qemu-user-static depends on no packages.

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

Versions of packages qemu-user-static suggests:
ii  sudo  1.8.5p2-1

-- no debconf information

-- 
Jorrit (Jö) Fahlke, Interdisciplinary Center for Scientific Computing,
Heidelberg University, Im Neuenheimer Feld 368, D-69120 Heidelberg
Tel: +49 6221 54 8890 Fax: +49 6221 54 8884

It is my conviction that killing under the cloak of war is nothing but
an act of murder.
-- Albert Einstein

Attachment: signature.asc
Description: Digital signature

Reply via email to