Package: usbmount
Version: 0.0.14
Severity: grave
Justification: renders package unusable

The latest version of udev removes the compatibility link for
/sbin/vol_id causing usbmount to fail.

The attached patch fixes the path for vol_id.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (400, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages usbmount depends on:
ii  lockfile-progs                0.1.10     Programs for locking and unlocking
ii  udev                          0.089-1    /dev/ and hotplug management daemo

usbmount recommends no packages.

-- no debconf information

-- 
Eric Evans
[EMAIL PROTECTED]
--- usr/share/usbmount/usbmount 2005-07-08 11:51:02.000000000 -0500
+++ usr/share/usbmount/usbmount 2006-04-07 19:50:58.000000000 -0500
@@ -36,8 +36,8 @@
 }
 
 
-# Test if /sbin/vol_id is executable.
-test -x /sbin/vol_id || { log err "cannnot execute /sbin/vol_id"; exit 1; }
+# Test if /lib/udev/vol_id is executable.
+test -x /lib/udev/vol_id || { log err "cannnot execute /lib/udev/vol_id"; exit 
1; }
 
 # Default values for configuration variables.
 MOUNTPOINTS=""
@@ -85,10 +85,10 @@
     # Test if the device contains a filesystem.  If it doesn't, no
     # further action is required, but calling vol_id has the side effect
     # that the partition table is read and partition devices are created.
-    if /sbin/vol_id "$DEVNAME" | egrep -q 
'^ID_FS_USAGE=(filesystem|disklabel)$'; then
+    if /lib/udev/vol_id "$DEVNAME" | egrep -q 
'^ID_FS_USAGE=(filesystem|disklabel)$'; then
        log debug "$DEVNAME contains a filesystem or disklabel"
 
-       fstype="`/sbin/vol_id -t \"$DEVNAME\"`"
+       fstype="`/lib/udev/vol_id -t \"$DEVNAME\"`"
        log debug "$DEVNAME contains filesystem type $fstype"
 
        # Test if the filesystem type is in the list of filesystem

Attachment: signature.asc
Description: Digital signature

Reply via email to