Package: binfmt-support
Version: 2.0.9
Severity: normal
File: /usr/sbin/update-binfmts

Dear Maintainer,

when debugging a problem in qemu-user-static regarding setuid binaries, I
noticed that changing the details of an existing interpreter has no effect.
Then only become effective when I issue the change a second time:

======================================================================
paranoia:/home/joe# update-binfmts --install echo /bin/echo --magic echo
paranoia:/home/joe# cat /proc/sys/fs/binfmt_misc/echo 
enabled
interpreter /bin/echo
flags: 
offset 0
magic 6563686f
paranoia:/home/joe# update-binfmts --install echo /bin/echo --magic echo 
--credentials yes
paranoia:/home/joe# cat /proc/sys/fs/binfmt_misc/echo 
enabled
interpreter /bin/echo
flags: 
offset 0
magic 6563686f
paranoia:/home/joe# update-binfmts --install echo /bin/echo --magic echo 
--credentials yes
paranoia:/home/joe# cat /proc/sys/fs/binfmt_misc/echo 
enabled
interpreter /bin/echo
flags: OC
offset 0
magic 6563686f
paranoia:/home/joe# 
======================================================================

This problem applies to --import as well as --install.

Regards,
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

Versions of packages binfmt-support depends on:
ii  libc6         2.13-33
ii  libpipeline1  1.2.1-1
ii  lsb-base      4.1+Debian7

binfmt-support recommends no packages.

binfmt-support suggests no packages.

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

featured product: Debian GNU/Linux - http://www.debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to