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)
commitde23db497b0bc13f5caa4418f03de5b5ba6aaaf8
tree11226ef609e9b534259a7fd145856e56e9ae3323
parentdbeacb7e556d3d41071feb077c92a353c6d0ef41
SW: Drop makedev from all GRML_* classes

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