-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Biebl wrote:
> Eddy Petrișor wrote:
>> Subject: hal: two icons on the desktop for a single encrypted partition
>> Package: hal
>> Version: 0.5.8.1-9
>> Severity: normal
>>
>> After upgrading hal to 0.5.8.1-9, two icons appeared on my desktop for
>> the same partition.
>>
>> This is broken for at least two reasons:
>> - that partition is on a non-removable disk, so it should not be
>>   displayed since it can't be removed
>> - there are two icons istead of one
>>
>> Here is a conversation had with the maintainer about this issue:
>>
> 
> Interesting.
> We added debian-storage-policy-ignore-fixed-crypto-drives.fdi in -9
> exactly for that reason: To set volume.ignore=true for local crypto
> devices, like luks containers.
> 
> Could you please check, if this property is set for your device or not.
> Please also attache the gzipped lshal output to this bug report.
> 

Apparently not completely, or at least not the right device:


udi =
'/org/freedesktop/Hal/devices/volume_uuid_fb2699dc_d5f4_4dc9_b911_4f6695601e2f'
  volume.unmount.valid_options = {'lazy'} (string list)
  volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime',
'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'data='} (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_argnames = {'mount_point fstype
extra_options', 'extra_options', 'extra_options'} (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'}
(string list)
  org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'}
(string list)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
  volume.ignore = false  (bool)
  info.udi =
'/org/freedesktop/Hal/devices/volume_uuid_fb2699dc_d5f4_4dc9_b911_4f6695601e2f'
 (string)
  info.product = 'crypto'  (string)
  volume.size = 20027471872  (0x4a9baf800)  (uint64)
  volume.num_blocks = 39116156  (0x254dd7c)  (int)
  volume.block_size = 512  (0x200)  (int)
  info.capabilities = {'volume', 'block'} (string list)
  info.category = 'volume'  (string)
  volume.is_partition = false  (bool)
  volume.is_disc = false  (bool)
  volume.linux.is_device_mapper = true  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_mounted = true  (bool)
  volume.mount_point = '/crypto'  (string)
  volume.label = 'crypto'  (string)



udi =
'/org/freedesktop/Hal/devices/volume_uuid_bc6283c6_cf85_441c_99e7_2694479ef5aa'
  volume.ignore = true  (bool)
  org.freedesktop.Hal.Device.Volume.Crypto.method_execpaths = {'hal-luks-setup',
'hal-luks-teardown'} (string list)
  org.freedesktop.Hal.Device.Volume.Crypto.method_argnames = {'passphrase', ''}
(string list)
  org.freedesktop.Hal.Device.Volume.Crypto.method_signatures = {'s', ''} (string
list)
  org.freedesktop.Hal.Device.Volume.Crypto.method_names = {'Setup', 'Teardown'}
(string list)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume.Crypto'} (string list)
  info.udi =
'/org/freedesktop/Hal/devices/volume_uuid_bc6283c6_cf85_441c_99e7_2694479ef5aa'
 (string)
  volume.partition.flags = {} (string list)
  volume.partition.uuid = ''  (string)
  volume.partition.label = ''  (string)
  volume.partition.type = '0x83'  (string)
  volume.partition.scheme = 'embr'  (string)
  info.product = 'Volume (crypto_LUKS)'  (string)
  volume.partition.media_size = 120034123776  (0x1bf2976000)  (uint64)
  volume.partition.start = 100002986496  (0x1748a47a00)  (uint64)
  volume.size = 20028524544  (0x4a9cb0800)  (uint64)
  volume.num_blocks = 39118212  (0x254e584)  (int)
  volume.block_size = 512  (0x200)  (int)
  volume.partition.number = 7  (0x7)  (int)
  info.capabilities = {'volume', 'block'} (string list)
  info.category = 'volume'  (string)
  volume.is_partition = true  (bool)
  volume.is_disc = false  (bool)
  volume.linux.is_device_mapper = false  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_mounted = false  (bool)
  volume.mount_point = ''  (string)
  volume.label = ''  (string)
  volume.uuid = 'bc6283c6-cf85-441c-99e7-2694479ef5aa'  (string)
  volume.fsversion = ''  (string)
  volume.fsusage = 'crypto'  (string)
  volume.fstype = 'crypto_LUKS'  (string)
  storage.model = ''  (string)
  block.storage_device =
'/org/freedesktop/Hal/devices/storage_serial_SATA_TOSHIBA_MK1234G_X6UGT7O7T'
(string)
  block.is_volume = true  (bool)
  block.minor = 7  (0x7)  (int)
  block.major = 8  (0x8)  (int)
  block.device = '/dev/sda7'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  info.parent =
'/org/freedesktop/Hal/devices/storage_serial_SATA_TOSHIBA_MK1234G_X6UGT7O7T'
(string)
  linux.sysfs_path_device = '/sys/block/sda/sda7'  (string)
  linux.sysfs_path = '/sys/block/sda/sda7'  (string)


> Michael
> 
> P.S.: I'd still consider it rather a bug in pmount/gnome-vfs, but as we
> set the device to ignore it shouldn't really matter anyway.


- --
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGDP4YY8Chqv3NRNoRAq2cAKCYujP+++8qp0ii0+1uM2/wUPUuXACg3j09
PiDl4auDZlho0l/Y8I/Pbfs=
=6Jha
-----END PGP SIGNATURE-----

Attachment: lshal.0.5.8.1-9.gz
Description: GNU Zip compressed data

Reply via email to