Package: binfmt-support Version: 1.2.14 Severity: normal Tags: patch Hello,
the init script binfmt-support fails without an error message when binfmt_misc is not available as a module, but built in the kernel. The problem is that "modprobe -q binfmt_misc" fails in the init script. I originally filed a bug on modprobe (548841), and there is some discussion going on there as to how modprobe -q should behave in this situation, but it seems that this is the traditional modprobe behavior. The attached patch fixes the problem, regardless of whether modprobe's behavior is going to be changed or not. Philipp -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (600, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.30 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages binfmt-support depends on: ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip ii perl 5.10.1-4 Larry Wall's Practical Extraction binfmt-support recommends no packages. binfmt-support suggests no packages. -- no debconf information -- Philipp Weis
--- binfmt-support.orig 2009-09-30 14:12:44.982007593 -0400 +++ binfmt-support 2009-09-30 14:13:00.814256909 -0400 @@ -31,7 +31,7 @@ log_daemon_msg "Enabling $DESC" "$NAME" PROCDIR=/proc/sys/fs/binfmt_misc if [ ! -e "$PROCDIR/register" ]; then - modprobe -q binfmt_misc + modprobe -q binfmt_misc || true mount -t binfmt_misc -o nodev,noexec,nosuid binfmt_misc "$PROCDIR" fi cachefail=0
signature.asc
Description: Digital signature