Package:binfmt_misc
Version:0.8-3
Severity:wishlist

do a mount on commandline and you see:
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hda1 on /boot type ext3 (rw)
/dev/hda7 on /home type reiserfs (rw,usrquota,grpquota,attrs,user_xattr)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

----------- 

binfmt_misc doesn't follow this convention. Moreover in case of umount
error, we will see "none busy" instead of binfmt_misc busy. So could
you please use the followin patch:

--- /usr/sbin/update-binfmts    2005-08-30 16:49:08.000000000 +0000
+++  /usr/sbin/update-binfmts 2005-09-17 15:44:09.547886138 +0000
@@ -202,7 +202,7 @@
     # Find out what the style looks like now.
     $style = get_binfmt_style;
     if ($style eq 'filesystem' and not -f $register) {
-       if (system qw(/bin/mount -t binfmt_misc none), $procdir) {
+       if (system qw(/bin/mount -t binfmt_misc binfmt_misc), $procdir) {
            warning "Couldn't mount the binfmt_misc filesystem on $procdir.";
            return 0;
        }

Thank you

Bastien

Reply via email to