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

Michael Biebl wrote:
> I marked the relevant parts with ^^^^:
> 
> Dumping 99 device(s) from the Global Device List:
> -------------------------------------------------
> 
> udi =
> '/org/freedesktop/Hal/devices/storage_serial_SATA_TOSHIBA_MK1234G_X6UGT7O7T'
>   block.storage_device =
> '/org/freedesktop/Hal/devices/storage_serial_SATA_TOSHIBA_MK1234G_X6UGT7O7T'
>  (string)
>   info.udi =
> '/org/freedesktop/Hal/devices/storage_serial_SATA_TOSHIBA_MK1234G_X6UGT7O7T'
>  (string)
>   storage.partitioning_scheme = 'mbr'  (string)
>   storage.removable.media_size = 120034123776  (0x1bf2976000)  (uint64)
>   storage.requires_eject = false  (bool)
>   storage.hotpluggable = false  (bool)
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   info.capabilities = {'storage', 'block'} (string list)
>   info.category = 'storage'  (string)
>   info.product = 'TOSHIBA MK1234GS'  (string)
>   info.vendor = 'ATA'  (string)
>   storage.size = 120034123776  (0x1bf2976000)  (uint64)
>   storage.removable = false  (bool)
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   storage.removable.media_available = true  (bool)
>   storage.physical_device =
> '/org/freedesktop/Hal/devices/pci_8086_27c4_scsi_host_0_scsi_device_lun0'
>  (string)
>   storage.lun = 0  (0x0)  (int)
>   storage.firmware_version = 'AH00'  (string)
>   storage.serial = 'SATA_TOSHIBA_MK1234G_X6UGT7O7T'  (string)
>   storage.vendor = 'ATA'  (string)
>   storage.model = 'TOSHIBA MK1234GS'  (string)
>   storage.drive_type = 'disk'  (string)
>   storage.automount_enabled_hint = true  (bool)
>   storage.media_check_enabled = false  (bool)
>   storage.no_partitions_hint = false  (bool)
>   storage.bus = 'scsi'  (string)
>   block.is_volume = false  (bool)
>   block.minor = 0  (0x0)  (int)
>   block.major = 8  (0x8)  (int)
>   block.device = '/dev/sda'  (string)
>   linux.hotplug_type = 3  (0x3)  (int)
>   info.parent =
> '/org/freedesktop/Hal/devices/pci_8086_27c4_scsi_host_0_scsi_device_lun0'
>  (string)
>   linux.sysfs_path_device = '/sys/block/sda'  (string)
>   linux.sysfs_path = '/sys/block/sda'  (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)
> 
> 
> The relevant file
> /usr/share/hal/fdi/policy/10osvendor/debian-storage-policy-ignore-fixed-crypto-drives.fdi
> contains:
> 
> <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
> 
> <deviceinfo version="0.2">
>   <device>
>     <match key="volume.fsusage" string="crypto">
>       <match key="@block.storage_device:storage.hotpluggable" bool="false">
>         <match key="@block.storage_device:storage.removable" bool="false">
>           <merge key="volume.ignore" type="bool">true</merge>
>         </match>
>       </match>
>     </match>
>   </device>
> </deviceinfo>

But this doesn't cover this 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)
  volume.uuid = 'fb2699dc-d5f4-4dc9-b911-4f6695601e2f'  (string)
  volume.fsversion = '1.0'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fstype = 'ext3'  (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 = 0  (0x0)  (int)
  block.major = 253  (0xfd)  (int)
  block.device = '/dev/dm-0'  (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/dm-0'  (string)
  linux.sysfs_path = '/sys/block/dm-0'  (string)
  volume.crypto_luks.clear.backing_volume =
'/org/freedesktop/Hal/devices/volume_uuid_bc6283c6_cf85_441c_99e7_2694479ef5aa'
 (string)


> 
> 
> On my machine it works as expected and sets the volume.ignore=true for
> the luks device. Could you please check if this fdi file exists on your
> machine. To be extra sure, please also restart the machine.

It exists... and the machine was started several times since the upgrade, icons
remained.




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

iD8DBQFGDTVwY8Chqv3NRNoRAvNUAJ9jFZ2vDO8UdFQe+WUP7sUliEN4WgCfTh/h
zxTkA1Ct6clCxfqhvaTNUag=
=hKO7
-----END PGP SIGNATURE-----


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

Reply via email to