https://bugzilla.novell.com/show_bug.cgi?id=411447 Summary: Mounting LUKS-encrypted partition of internal harddrive via hal fails with "Method "Mount" with signature "ssas" on interface "org.freedesktop.Hal.Device.Volume" doesn't exist" Product: openSUSE 11.0 Version: Final Platform: 32bit OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: AxelKoellhofer@web.de QAContact: qa@suse.de Found By: Customer Created an attachment (id=229424) --> (https://bugzilla.novell.com/attachment.cgi?id=229424) lshal after unlocking device After unlocking an encrypted partition of my internal harddisk with kcryptomedia (or kcrypt which both work fine) mounting fails with the following error-message: Method "Mount" with signature "ssas" on interface "org.freedesktop.Hal.Device.Volume" doesn't exist Same partition with same tools on an also installed Archlinux on the same machine (and same hal-version hal-0.5.11 is used) can be mounted without problems. Mounting the partition by hand works also like a charm. I compared the lshal outputs before and after unlocking the device (to get only the information about the new device) and got the following output (sorry, for the "patch-like" style, but using diff made sense to me) --- hal1 2008-07-22 02:58:37.000000000 +0200 +++ hal2 2008-07-22 03:02:01.000000000 +0200 @@ -1,5 +1,5 @@ -Dumping 103 device(s) from the Global Device List: +Dumping 104 device(s) from the Global Device List: ------------------------------------------------- udi = '/org/freedesktop/Hal/devices/computer' info.addons = {'hald-addon-cpufreq', 'hald-addon-acpi'} (string list) @@ -1273,6 +1273,37 @@ storage.vendor = 'ATA' (string) volume.ignore = true (bool) +udi = '/org/freedesktop/Hal/devices/volume_part_1_size_0' + block.device = '/dev/dm-0' (string) + block.is_volume = true (bool) + block.major = 253 (0xfd) (int) + block.minor = 0 (0x0) (int) + block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SATA_ST9100823A_3LG00M1F' (string) + info.capabilities = {'volume', 'block'} (string list) + info.category = 'volume' (string) + info.parent = '/org/freedesktop/Hal/devices/storage_serial_SATA_ST9100823A_3LG00M1F' (string) + info.product = 'Volume' (string) + info.udi = '/org/freedesktop/Hal/devices/volume_part_1_size_0' (string) + linux.hotplug_type = 3 (0x3) (int) + linux.sysfs_path = '/sys/devices/virtual/block/dm-0' (string) + storage.model = '' (string) + volume.block_size = 512 (0x200) (int) + volume.crypto_luks.clear.backing_volume = '/org/freedesktop/Hal/devices/volume_uuid_7e68c41d_25fc_4f6b_8a68_de85b5a457a2' (string) + volume.fstype = '' (string) + volume.fsusage = '' (string) + volume.fsversion = '' (string) + volume.ignore = true (bool) + volume.is_disc = false (bool) + volume.is_mounted = false (bool) + volume.is_mounted_read_only = false (bool) + volume.is_partition = false (bool) + volume.label = '' (string) + volume.linux.is_device_mapper = true (bool) + volume.mount_point = '' (string) + volume.num_blocks = 0 (0x0) (int) + volume.size = 0 (0x0) (uint64) + volume.uuid = '' (string) + udi = '/org/freedesktop/Hal/devices/volume_uuid_f22f80d5_5f30_46c0_8a47_468d21ffd2fe' block.device = '/dev/sda9' (string) block.is_volume = true (bool) @@ -1595,6 +1626,7 @@ block.major = 8 (0x8) (int) block.minor = 1 (0x1) (int) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SATA_ST9100823A_3LG00M1F' (string) + info.callouts.remove = {'hal-luks-remove'} (string list) info.capabilities = {'volume', 'block'} (string list) info.category = 'volume' (string) info.interfaces = {'org.freedesktop.Hal.Device.Volume.Crypto'} (string list) @@ -2336,6 +2368,6 @@ pci.vendor_id = 32902 (0x8086) (int) -Dumped 103 device(s) from the Global Device List. +Dumped 104 device(s) from the Global Device List. Same output with Archlinux --- hal1 2008-07-22 08:22:46.000000000 +0200 +++ hal2 2008-07-22 08:23:44.000000000 +0200 @@ -1,5 +1,5 @@ -Dumping 111 device(s) from the Global Device List: +Dumping 112 device(s) from the Global Device List: ------------------------------------------------- udi = '/org/freedesktop/Hal/devices/computer' info.addons = {'hald-addon-cpufreq', 'hald-addon-acpi'} (string list) @@ -1235,6 +1235,44 @@ storage.vendor = 'ATA' (string) volume.ignore = false (bool) +udi = '/org/freedesktop/Hal/devices/volume_uuid_f015eed7_dc60_4339_965c_a937056774ae' + block.device = '/dev/mapper/luks_crypto_7e68c41d-25fc-4f6b-8a68-de85b5a457a2' (string) + block.is_volume = true (bool) + block.major = 254 (0xfe) (int) + block.minor = 0 (0x0) (int) + block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SATA_ST9100823A_3LG00M1F' (string) + info.capabilities = {'volume', 'block'} (string list) + info.category = 'volume' (string) + info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list) + info.parent = '/org/freedesktop/Hal/devices/storage_serial_SATA_ST9100823A_3LG00M1F' (string) + info.product = 'Volume (reiserfs)' (string) + info.udi = '/org/freedesktop/Hal/devices/volume_uuid_f015eed7_dc60_4339_965c_a937056774ae' (string) + linux.hotplug_type = 3 (0x3) (int) + linux.sysfs_path = '/sys/block/dm-0' (string) + org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_options', 'extra_options'} (string list) + org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount'} (string list) + org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount'} (string list) + org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as'} (string list) + storage.model = '' (string) + volume.block_size = 512 (0x200) (int) + volume.crypto_luks.clear.backing_volume = '/org/freedesktop/Hal/devices/volume_uuid_7e68c41d_25fc_4f6b_8a68_de85b5a457a2' (string) + volume.fstype = 'reiserfs' (string) + volume.fsusage = 'filesystem' (string) + volume.fsversion = '3.6' (string) + volume.ignore = false (bool) + volume.is_disc = false (bool) + volume.is_mounted = false (bool) + volume.is_mounted_read_only = false (bool) + volume.is_partition = false (bool) + volume.label = '' (string) + volume.linux.is_device_mapper = true (bool) + volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec'} (string list) + volume.mount_point = '' (string) + volume.num_blocks = 6151800 (0x5dde78) (int) + volume.size = 3149721600 (0xbbbcf000) (uint64) + volume.unmount.valid_options = {'lazy'} (string list) + volume.uuid = 'f015eed7-dc60-4339-965c-a937056774ae' (string) + udi = '/org/freedesktop/Hal/devices/volume_uuid_f22f80d5_5f30_46c0_8a47_468d21ffd2fe' block.device = '/dev/sda9' (string) block.is_volume = true (bool) @@ -1557,6 +1595,7 @@ block.major = 8 (0x8) (int) block.minor = 1 (0x1) (int) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SATA_ST9100823A_3LG00M1F' (string) + info.callouts.remove = {'hal-luks-remove'} (string list) info.capabilities = {'volume', 'block'} (string list) info.category = 'volume' (string) info.interfaces = {'org.freedesktop.Hal.Device.Volume.Crypto'} (string list) @@ -2377,6 +2416,6 @@ volume.ignore = false (bool) -Dumped 111 device(s) from the Global Device List. +Dumped 112 device(s) from the Global Device List. ------------------------------------------------ At least the error-message is now clear, as the respective fields are really missing under openSUSE 11.0 With other, none-encrypted partitions anything is ok. udi = '/org/freedesktop/Hal/devices/volume_uuid_80fbbfe2_ca26_4e47_8b03_7de72c3a358f' block.device = '/dev/sda2' (string) block.is_volume = true (bool) block.major = 8 (0x8) (int) block.minor = 2 (0x2) (int) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SATA_ST9100823A_3LG00M1F' (string) info.capabilities = {'volume', 'block'} (string list) info.category = 'volume' (string) info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list) info.parent = '/org/freedesktop/Hal/devices/storage_serial_SATA_ST9100823A_3LG00M1F' (string) info.product = 'Volume (ext3)' (string) info.udi = '/org/freedesktop/Hal/devices/volume_uuid_80fbbfe2_ca26_4e47_8b03_7de72c3a358f' (string) linux.hotplug_type = 3 (0x3) (int) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0/block/sda/sda2' (string) org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_options', 'extra_options', 'extra_options'} (string list) org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list) org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list) org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (string list) storage.model = '' (string) volume.block_size = 512 (0x200) (int) volume.fstype = 'ext3' (string) volume.fsusage = 'filesystem' (string) volume.fsversion = '1.0' (string) volume.ignore = true (bool) volume.is_disc = false (bool) volume.is_mounted = true (bool) volume.is_mounted_read_only = false (bool) volume.is_partition = true (bool) volume.label = '' (string) volume.linux.is_device_mapper = false (bool) volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'acl', 'user_xattr', 'data='} (string list) volume.mount_point = '/VM' (string) volume.num_blocks = 41945715 (0x2800a73) (int) volume.partition.flags = {} (string list) volume.partition.label = '' (string) volume.partition.media_size = 100030242816 (0x174a446000) (uint64) volume.partition.number = 2 (0x2) (int) volume.partition.scheme = 'mbr' (string) volume.partition.start = 3150282240 (0xbbc57e00) (uint64) volume.partition.type = '0x83' (string) volume.size = 21476206080 (0x50014e600) (uint64) volume.unmount.valid_options = {'lazy'} (string list) volume.uuid = '80fbbfe2-ca26-4e47-8b03-7de72c3a358f' (string) The full output of lshal under openSUSE 11.0 after unlocking the device is attached. I also tried to (re)build hal from git using the official src.rpm of 11.0 (i.e. its spec and patches) but the problem remained the same. Best wishes, Axel Koellhofer (Hopefully this isn't the second submission, on first try I got an error-message to validate my email-address, although I aready did) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.