Package: pmount
Version: 0.9.13-1+b1
Severity: normal

With linux 2.6.20, pmount fails with hot pluggable USB drive :

LC_ALL=C pmount -d /dev/sda1 usbdisk
resolved /dev/sda1 to device /dev/sda1
mount point to be used: /media/usbdisk
no iocharset given, current locale encoding is ANSI_X3.4-1968
Cleaning lock directory /var/lock/pmount_dev_sda1
device_whitelist: checking /etc/pmount.allow...
device_whitlisted(): nothing matched, returning 0
find_sysfs_device: looking for sysfs directory for device 8:1
find_sysfs_device: checking whether /dev/sda1 is on /sys/block/sda (8:0)
find_sysfs_device: major device numbers match
find_sysfs_device: minor device numbers do not match, checking partitions...
find_sysfs_device: checking whether device /dev/sda1 matches partition 8:0
find_sysfs_device: checking whether device /dev/sda1 matches partition 8:1
find_sysfs_device: -> partition matches, belongs to block device /sys/block/sda
device_removable: corresponding block device for /dev/sda1 is /sys/block/sda
get_blockdev_attr: value of /sys/block/sda/removable == 0
find_bus_ancestry: device 6:0:0:0 (path 
/sys/devices/pci0001:10/0001:10:1b.2/usb1/1-2/1-2:1.0/host6/target6:0:0/6:0:0:0,
 bus ) does not match, trying parent
find_bus_ancestry: device target6:0:0 (path 
/sys/devices/pci0001:10/0001:10:1b.2/usb1/1-2/1-2:1.0/host6/target6:0:0, bus ) 
does not match, trying parent
find_bus_ancestry: device host6 (path 
/sys/devices/pci0001:10/0001:10:1b.2/usb1/1-2/1-2:1.0/host6, bus ) does not 
match, trying parent
find_bus_ancestry: device 1-2:1.0 (path 
/sys/devices/pci0001:10/0001:10:1b.2/usb1/1-2/1-2:1.0, bus ) does not match, 
trying parent
find_bus_ancestry: device 1-2 (path 
/sys/devices/pci0001:10/0001:10:1b.2/usb1/1-2, bus ) does not match, trying 
parent
find_bus_ancestry: device usb1 (path /sys/devices/pci0001:10/0001:10:1b.2/usb1, 
bus ) does not match, trying parent
find_bus_ancestry: device 0001:10:1b.2 (path 
/sys/devices/pci0001:10/0001:10:1b.2, bus ) does not match, trying parent
find_bus_ancestry: device pci0001:10 (path /sys/devices/pci0001:10, bus ) does 
not match, trying parent
find_bus_ancestry: dev == NULL, fail
Error: device /dev/sda1 is not removable
policy check failed

-- System Information:
Debian Release: sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20-ben
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)

Versions of packages pmount depends on:
ii  libc6                       2.3.6.ds1-11 GNU C Library: Shared libraries
ii  libdbus-1-3                 1.0.2-1      simple interprocess messaging syst
ii  libhal-storage1             0.5.8.1-6.1  Hardware Abstraction Layer - share
ii  libhal1                     0.5.8.1-6.1  Hardware Abstraction Layer - share
ii  libsysfs2                   2.1.0-1      interface library to sysfs

pmount recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to