[Git-commits] [grml/grml-live] de23db: SW: Drop makedev from all GRML_* classes

Michael Prokop mika at grml.org
Wed May 29 17:54:19 CEST 2013


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-live
  Commit: de23db497b0bc13f5caa4418f03de5b5ba6aaaf8
      https://github.com/grml/grml-live/commit/de23db497b0bc13f5caa4418f03de5b5ba6aaaf8
  Author: Michael Prokop <mika at grml.org>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M etc/grml/fai/config/package_config/GRML_FULL
    M etc/grml/fai/config/package_config/GRML_MEDIUM
    M etc/grml/fai/config/package_config/GRML_SMALL
    M etc/grml/fai/config/package_config/GRML_XL

  Log Message:
  -----------
  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.





More information about the Git-commits mailing list