Package: qemu-user-static
Version: 1:5.2+dfsg-9
Severity: wishlist
X-Debbugs-Cc: silvano.cirujano-cue...@siemens.com

Current packaging of qemu-user-static is providing two different things
at once and without any declared configuration possibility (no .conffiles):
 * QEMU-User statically linked binaries.
 * binfmt_misc configuration

>From release "buster" upwards the binfmt_misc configuration being
provided by this package is registering the qemu-user-static binaries
with the flag "fix_binary". This configuration might be convenient in
most cases (suppose that's was it's so now), but is a problem in some
others.

Not being able to configure binfmt_misc is a blocker for this package in
the scenarios where that default configuration doesn't fit. The
configuration can be changed providing different update-binfmts
templates than those provided by this package and running
update-binfmts. But qemu-user-static upgrades overwrite the changes.

I don't know which is the best solution, but one possible is putting
the update-binfmts templates now available in /usr/share/binfmts under
/etc and making them configuration files (adding a .conffiles).

Just for those curious when this might be an issue. Containers trying to
use new syscalls not provided by the QEMU-User binaries provided by the host
require newer QEMU-User binaries.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'testing-security'), (50, 'unstable'), 
(10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-4-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /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

Reply via email to