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>
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.
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

