found 470485 2.7.3-2
quit

I'm sorry, but the bug is still there:

E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up fuse-utils (2.7.3-2) ...
creating fuse group...
udev active, devices will be created in /dev/.static/dev/
chgrp: cannot access `/dev/fuse': No such file or directory
dpkg: error processing fuse-utils (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 fuse-utils

This code is still wrong:

  if grep -qE '^udev /dev' /proc/mounts; then
        udev=1
  elif [ -d /dev/.udevdb/ -o -d /dev/.udev/ ]; then
        udev=0
  fi


It should read "udev=1" in the elif clause.

Why don't you simplify the test and just use the following?

if [ -d /dev/.udev/ ]; then
        # Udev is active, nothing to do.
        echo "udev active, skipping device node creation."
else
        # Call makedev and fix perms
        cd /dev; MAKEDEV fuse
        chgrp fuse /dev/fuse
fi

As far as I know, /dev/.udev is guaranteed to be present while udev is 
active. No need to grep /proc/mounts or anything else.

Grüße,
Sven.

-- 
Sven Hartge -- professioneller Unix-Geek
Meine Gedanken im Netz: http://www.svenhartge.de/


Reply via email to