SW: Drop makedev from all GRML_* classes
authorMichael Prokop <mika@grml.org>
Wed, 29 May 2013 15:45:09 +0000 (17:45 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 29 May 2013 15:52:08 +0000 (17:52 +0200)
We once again run into this annoying behaviour of the fuse package:

| Setting up makedev (2.3.1-92) ...
| /run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
| /run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
| /run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
| Setting up fuse (2.9.2-2) ...
| Creating fuse group...
| Adding group `fuse' (GID 104) ...
| Done.
| Creating fuse device...
| /run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
| chown: cannot access '/dev/fuse': No such file or directory
| dpkg: error processing fuse (--configure):
|  subprocess installed post-installation script returned error exit status 1

as reported in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696055

The bind mounted /dev in the chroot seems to cause makedev to not execute
anything, while /var/lib/dpkg/info/fuse.postinst uses the following code:

| [...]
|                 if [ ! -d /run/udev ]
|                 then
|                         if [ -x /sbin/MAKEDEV ]
|                         then
|                                 echo "Creating fuse device..."
|
|                                 cd /dev
|                                 MAKEDEV fuse
|                                 chown root:fuse /dev/fuse
|                                 chmod 0660 /dev/fuse
|                         else
|                                 echo "MAKEDEV not installed, skipping device node creation."
|                         fi
|                 else
| [...]

So let's try to get rid of the deprecated makedev package.

etc/grml/fai/config/package_config/GRML_FULL
etc/grml/fai/config/package_config/GRML_MEDIUM
etc/grml/fai/config/package_config/GRML_SMALL
etc/grml/fai/config/package_config/GRML_XL

index 735e868..a4cae2e 100644 (file)
@@ -21,7 +21,6 @@ localepurge
 locales
 lsb-release
 lsof
-makedev
 mount
 multitail
 ntp
index 6ffaf0f..109ae75 100644 (file)
@@ -702,7 +702,6 @@ mailfilter
 mailplate
 mairix
 make
-makedev
 makejail
 makepasswd
 man-db