[Bug 78848] LUKS removable volume not mounted automatically

Charles charles.bovy at gmail.com
Thu Jan 11 20:59:28 UTC 2007


Public bug reported:

Binary package hint: hal

Since upgrade from Edgy to Feisty, my LUKS-encrypted removable disk does not mount anymore automatically. 
HAL is correctly detecting the LUKS-volume and I'm asked for the passphrase. After entering the passphrase, a pseudo device is created in /dev/mapper but that device is not mounted.

I'm not really sure whether this is a HAL or gnome-volume-manager bug.

The device consists of a 4 partitions: NTFS, 2 x ReiserFS and 1 x LUKS
(VFAT)

Here is part of the HAL log (dashed are inserted at the moment I entered
the passphrase):

Run started hald-probe-storage (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-storage', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-storage exited
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-volume exited
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-volume exited
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
Run started hal-storage-mount (0) (1) 
!  full path is '/usr/lib/hal/hal-storage-mount', program_dir is '/usr/lib/hal'
24259: XYA attempting to get lock on /media/.hal-mtab-lock
24259: XYA got lock on /media/.hal-mtab-lock
device                           = /dev/sdb7
invoked by uid                   = 1000
invoked by system bus connection = :1.101
 label 'ReiserFS-48GB'  uuid 'd35e7ba2-168b-4d48-affe-5934a7e479c8'
Looking at /etc/fstab entry 'proc'
/etc/fstab: device proc -> proc 
Looking at /etc/fstab entry '/dev/mapper/cryptoroot'
/etc/fstab: device /dev/mapper/cryptoroot -> /dev/mapper/cryptoroot 
Looking at /etc/fstab entry 'UUID=07D6-0B1E'
Looking at /etc/fstab entry 'UUID=B4FC3EADFC3E69AE'
Looking at /etc/fstab entry '/dev/sda5'
/etc/fstab: device /dev/sda5 -> /dev/sda5 
Looking at /etc/fstab entry '/dev/mapper/cryptoswap'
/etc/fstab: device /dev/mapper/cryptoswap -> /dev/mapper/cryptoswap 
Looking at /etc/fstab entry '/dev/mapper/cryptohome'
/etc/fstab: device /dev/mapper/cryptohome -> /dev/mapper/cryptohome 
Looking at /etc/fstab entry '/dev/scd0'
/etc/fstab: device /dev/scd0 -> /dev/scd0 
Looking at /etc/fstab entry '/dev/mapper/cryptomultimedia'
/etc/fstab: device /dev/mapper/cryptomultimedia -> /dev/mapper/cryptomultimedia 
mount_point    = 'ReiserFS-48GB'
mount_fstype   = ''
mount_options  = ''
trying dir /media/ReiserFS-48GB
allowed_options[0] = 'ro'
allowed_options[1] = 'sync'
allowed_options[2] = 'dirsync'
allowed_options[3] = 'noatime'
allowed_options[4] = 'nodiratime'
allowed_options[5] = 'noexec'
allowed_options[6] = 'quiet'
allowed_options[7] = 'remount'
allowed_options[8] = 'exec'
using privilege hal-storage-removable-mount for uid 1000, system_bus_connection :1.101
passed privilege
24259: XYA creating /media/.hal-mtab~
24259: XYA closing /media/.hal-mtab~
/usr/lib/hal/hald-probe-volume exited
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-volume exited
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
24259: XYA done renaming /media/.hal-mtab~ to /media/.hal-mtab
24259: XYA released lock on /media/.hal-mtab-lock
/usr/lib/hal/hal-storage-mount exited
Run started hal-storage-mount (0) (1) 
!  full path is '/usr/lib/hal/hal-storage-mount', program_dir is '/usr/lib/hal'
24274: XYA attempting to get lock on /media/.hal-mtab-lock
24274: XYA got lock on /media/.hal-mtab-lock
device                           = /dev/sdb1
invoked by uid                   = 1000
invoked by system bus connection = :1.104
 label 'NTFS-10GB'  uuid '1C81F90479AF3E44'
Looking at /etc/fstab entry 'proc'
/etc/fstab: device proc -> proc 
Looking at /etc/fstab entry '/dev/mapper/cryptoroot'
/etc/fstab: device /dev/mapper/cryptoroot -> /dev/mapper/cryptoroot 
Looking at /etc/fstab entry 'UUID=07D6-0B1E'
Looking at /etc/fstab entry 'UUID=B4FC3EADFC3E69AE'
Looking at /etc/fstab entry '/dev/sda5'
/etc/fstab: device /dev/sda5 -> /dev/sda5 
Looking at /etc/fstab entry '/dev/mapper/cryptoswap'
/etc/fstab: device /dev/mapper/cryptoswap -> /dev/mapper/cryptoswap 
Looking at /etc/fstab entry '/dev/mapper/cryptohome'
/etc/fstab: device /dev/mapper/cryptohome -> /dev/mapper/cryptohome 
Looking at /etc/fstab entry '/dev/scd0'
/etc/fstab: device /dev/scd0 -> /dev/scd0 
Looking at /etc/fstab entry '/dev/mapper/cryptomultimedia'
/etc/fstab: device /dev/mapper/cryptomultimedia -> /dev/mapper/cryptomultimedia 
mount_point    = 'NTFS-10GB'
mount_fstype   = 'ntfs-3g'
mount_options  = ''
trying dir /media/NTFS-10GB
allowed_options[0] = 'ro'
allowed_options[1] = 'sync'
allowed_options[2] = 'dirsync'
allowed_options[3] = 'noatime'
allowed_options[4] = 'nodiratime'
allowed_options[5] = 'noexec'
allowed_options[6] = 'quiet'
allowed_options[7] = 'remount'
allowed_options[8] = 'exec'
allowed_options[9] = 'uid='
allowed_options[10] = 'gid='
allowed_options[11] = 'umask='
allowed_options[12] = 'locale='
using privilege hal-storage-removable-mount for uid 1000, system_bus_connection :1.104
passed privilege
24274: XYA creating /media/.hal-mtab~
24274: XYA closing /media/.hal-mtab~
/usr/lib/hal/hald-probe-volume exited
Run started hal-storage-mount (0) (1) 
!  full path is '/usr/lib/hal/hal-storage-mount', program_dir is '/usr/lib/hal'
24274: XYA done renaming /media/.hal-mtab~ to /media/.hal-mtab
24274: XYA released lock on /media/.hal-mtab-lock
/usr/lib/hal/hal-storage-mount exited
24289: XYA attempting to get lock on /media/.hal-mtab-lock
24289: XYA got lock on /media/.hal-mtab-lock
device                           = /dev/sdb5
invoked by uid                   = 1000
invoked by system bus connection = :1.106
 label 'ReiserFS-20GB'  uuid '47e2d674-024c-4eec-8eb6-e651507b03b6'
Looking at /etc/fstab entry 'proc'
/etc/fstab: device proc -> proc 
Looking at /etc/fstab entry '/dev/mapper/cryptoroot'
/etc/fstab: device /dev/mapper/cryptoroot -> /dev/mapper/cryptoroot 
Looking at /etc/fstab entry 'UUID=07D6-0B1E'
Looking at /etc/fstab entry 'UUID=B4FC3EADFC3E69AE'
Looking at /etc/fstab entry '/dev/sda5'
/etc/fstab: device /dev/sda5 -> /dev/sda5 
Looking at /etc/fstab entry '/dev/mapper/cryptoswap'
/etc/fstab: device /dev/mapper/cryptoswap -> /dev/mapper/cryptoswap 
Looking at /etc/fstab entry '/dev/mapper/cryptohome'
/etc/fstab: device /dev/mapper/cryptohome -> /dev/mapper/cryptohome 
Looking at /etc/fstab entry '/dev/scd0'
/etc/fstab: device /dev/scd0 -> /dev/scd0 
Looking at /etc/fstab entry '/dev/mapper/cryptomultimedia'
/etc/fstab: device /dev/mapper/cryptomultimedia -> /dev/mapper/cryptomultimedia 
mount_point    = 'ReiserFS-20GB'
mount_fstype   = ''
mount_options  = ''
trying dir /media/ReiserFS-20GB
allowed_options[0] = 'ro'
allowed_options[1] = 'sync'
allowed_options[2] = 'dirsync'
allowed_options[3] = 'noatime'
allowed_options[4] = 'nodiratime'
allowed_options[5] = 'noexec'
allowed_options[6] = 'quiet'
allowed_options[7] = 'remount'
allowed_options[8] = 'exec'
using privilege hal-storage-removable-mount for uid 1000, system_bus_connection :1.106
passed privilege
24289: XYA creating /media/.hal-mtab~
24289: XYA closing /media/.hal-mtab~
24289: XYA done renaming /media/.hal-mtab~ to /media/.hal-mtab
24289: XYA released lock on /media/.hal-mtab-lock
/usr/lib/hal/hal-storage-mount exited

--------------------------------------------------------------

Run started hal-luks-setup (0) (1) 
!  full path is '/usr/lib/hal/scripts/hal-luks-setup', program_dir is '/usr/lib/hal/scripts'
key slot 0 unlocked.
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-volume exited
/usr/lib/hal/scripts/hal-luks-setup exited
Run started hald-probe-volume (10000) (0) 
!  full path is '/usr/lib/hal/hald-probe-volume', program_dir is '/usr/lib/hal'
/usr/lib/hal/hald-probe-volume exited


Here is the log of gnome-volume-manager (after I enter the passphrase no activity is seen):


manager.c/3302: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2536: Device added: /org/freedesktop/Hal/devices/usb_device_4b4_6830_DEF10C43FA9E
manager.c/3302: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2536: Device added: /org/freedesktop/Hal/devices/usb_device_4b4_6830_DEF10C43FA9E_if0
manager.c/3302: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2536: Device added: /org/freedesktop/Hal/devices/usb_device_4b4_6830_DEF10C43FA9E_if0_scsi_host
manager.c/3302: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2536: Device added: /org/freedesktop/Hal/devices/usb_device_4b4_6830_DEF10C43FA9E_usbraw
manager.c/3302: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2536: Device added: /org/freedesktop/Hal/devices/usb_device_4b4_6830_DEF10C43FA9E_if0_scsi_host_scsi_device_lun0
manager.c/3302: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2536: Device added: /org/freedesktop/Hal/devices/usb_device_4b4_6830_DEF10C43FA9E_if0_scsi_host_scsi_device_lun0_scsi_generic
manager.c/3302: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2536: Device added: /org/freedesktop/Hal/devices/storage_serial_HTS54101_0G9AT00_DEF10C43FA9E
manager.c/2303: not a mountable volume: /org/freedesktop/Hal/devices/storage_serial_HTS54101_0G9AT00_DEF10C43FA9E
manager.c/3302: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2536: Device added: /org/freedesktop/Hal/devices/volume_uuid_0ef2f149_6966_4fe5_9197_eef25267cb12
manager.c/2319: encrypted volume found: /org/freedesktop/Hal/devices/volume_uuid_0ef2f149_6966_4fe5_9197_eef25267cb12
manager.c/1783: mounting /org/freedesktop/Hal/devices/volume_uuid_0ef2f149_6966_4fe5_9197_eef25267cb12...
manager.c/798: executing command: /usr/bin/gnome-mount --hal-udi=/org/freedesktop/Hal/devices/volume_uuid_0ef2f149_6966_4fe5_9197_eef25267cb12
gnome-mount 0.5
manager.c/3302: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2536: Device added: /org/freedesktop/Hal/devices/volume_uuid_1C81F90479AF3E44
manager.c/1783: mounting /org/freedesktop/Hal/devices/volume_uuid_1C81F90479AF3E44...
manager.c/798: executing command: /usr/bin/gnome-mount --hal-udi=/org/freedesktop/Hal/devices/volume_uuid_1C81F90479AF3E44
manager.c/3302: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2536: Device added: /org/freedesktop/Hal/devices/volume_part2_size_1024
manager.c/2324: no sensible filesystem for /org/freedesktop/Hal/devices/volume_part2_size_1024
gnome-mount 0.5
manager.c/3302: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2536: Device added: /org/freedesktop/Hal/devices/volume_uuid_47e2d674_024c_4eec_8eb6_e651507b03b6
manager.c/1783: mounting /org/freedesktop/Hal/devices/volume_uuid_47e2d674_024c_4eec_8eb6_e651507b03b6...
manager.c/798: executing command: /usr/bin/gnome-mount --hal-udi=/org/freedesktop/Hal/devices/volume_uuid_47e2d674_024c_4eec_8eb6_e651507b03b6
gnome-mount 0.5
manager.c/3302: gvm_user_active_at_console: check-foreground-console returned with 0
manager.c/2536: Device added: /org/freedesktop/Hal/devices/volume_uuid_d35e7ba2_168b_4d48_affe_5934a7e479c8
manager.c/1783: mounting /org/freedesktop/Hal/devices/volume_uuid_d35e7ba2_168b_4d48_affe_5934a7e479c8...
manager.c/798: executing command: /usr/bin/gnome-mount --hal-udi=/org/freedesktop/Hal/devices/volume_uuid_d35e7ba2_168b_4d48_affe_5934a7e479c8
gnome-mount 0.5
manager.c/2678: Mounted: /org/freedesktop/Hal/devices/volume_uuid_1C81F90479AF3E44
manager.c/798: executing command: nautilus -n --no-desktop '/media/NTFS-10GB_'
manager.c/2678: Mounted: /org/freedesktop/Hal/devices/volume_uuid_d35e7ba2_168b_4d48_affe_5934a7e479c8
manager.c/798: executing command: nautilus -n --no-desktop '/media/ReiserFS-48GB'
manager.c/2678: Mounted: /org/freedesktop/Hal/devices/volume_uuid_47e2d674_024c_4eec_8eb6_e651507b03b6
manager.c/798: executing command: nautilus -n --no-desktop '/media/ReiserFS-20GB'

** Affects: hal (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
LUKS removable volume not mounted automatically
https://launchpad.net/bugs/78848




More information about the desktop-bugs mailing list