https://bugs.kde.org/show_bug.cgi?id=363932

Tyler Riddle <cardboardaardv...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---
                 CC|                            |cardboardaardv...@gmail.com

--- Comment #6 from Tyler Riddle <cardboardaardv...@gmail.com> ---
Reopening because I've been tearing my hair out trying to figure out why I
can't stop my encrypted external storage from showing up in the device
notifier. My experience is identical to the original report. I see a comment
that this bug has been fixed in Plasma 6.2 but I am running Plasma 6.3 coming
out of Debian Trixie and I can't get this noise in the device notifier to go
away. Like the original report, I am able to successfully ignore other external
storage. It appears to be the presence of LUKS that makes it unignorable.

I set a rule in udev:
ACTION=="add|change", SUBSYSTEM=="block",
ENV{ID_USB_SERIAL}=="USB_SanDisk_3.2Gen1_04015e8d9545760cbb5adf8f417f6c7770a5cea29fffd2576fbc36c4f6effa149bff00000000000000000000204fe2bdff85801881558107ce3000df-0:0",
ENV{UDISKS_IGNORE}="1"

I don't seem to have a solid-hardware binary but can confirm HINT_IGNORE makes
it into udisks (via udisksctl dump) for the entire drive and the partition:
/org/freedesktop/UDisks2/block_devices/sdc:
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdc
    DeviceNumber:               2080
    Drive:                     
'/org/freedesktop/UDisks2/drives/USB_SanDisk_3_2e2Gen1_04015e8d9545760cbb5adf8f417f6c7770a5cea29fffd2576fbc36c4f6effa149bff00000000000000000000204fe2bdff85801881558107ce3000df'
    HintAuto:                   true
    HintIconName:               
    HintIgnore:                 true
    HintName:                   
    HintPartitionable:          true
    HintSymbolicIconName:       
    HintSystem:                 false
    Id:                         
    IdLabel:                    
    IdType:                     
    IdUUID:                     
    IdUsage:                    
    IdVersion:                  
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sdc
    ReadOnly:                   false
    Size:                       494206451712
    Symlinks:                   /dev/disk/by-diskseq/99
                               
/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_04015e8d9545760cbb5adf8f417f6c7770a5cea29fffd2576fbc36c4f6effa149bff00000000000000000000204fe2bdff85801881558107ce3000df-0:0
                               
/dev/disk/by-path/pci-0000:02:00.0-usb-0:7:1.0-scsi-0:0:0:0
                               
/dev/disk/by-path/pci-0000:02:00.0-usbv2-0:7:1.0-scsi-0:0:0:0
    UserspaceMountOptions:      
  org.freedesktop.UDisks2.PartitionTable:
    Partitions:         /org/freedesktop/UDisks2/block_devices/sdc1
    Type:               dos

/org/freedesktop/UDisks2/block_devices/sdc1:
  org.freedesktop.UDisks2.Block:
    Configuration:              [('crypttab', {'name': <b'backup01'>, 'device':
<b'UUID=de9ab957-6766-4788-8d55-768d28587718'>, 'passphrase-path':
<b'/etc/crypt/backup01'>, 'options': <
b'noauto'>})]
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdc1
    DeviceNumber:               2081
    Drive:                     
'/org/freedesktop/UDisks2/drives/USB_SanDisk_3_2e2Gen1_04015e8d9545760cbb5adf8f417f6c7770a5cea29fffd2576fbc36c4f6effa149bff00000000000000000000204fe2bdff
85801881558107ce3000df'
    HintAuto:                   true
    HintIconName:               
    HintIgnore:                 true
    HintName:                   
    HintPartitionable:          true
    HintSymbolicIconName:       
    HintSystem:                 false
    Id:                         by-uuid-de9ab957-6766-4788-8d55-768d28587718
    IdLabel:                    backup01
    IdType:                     crypto_LUKS
    IdUUID:                     de9ab957-6766-4788-8d55-768d28587718
    IdUsage:                    crypto
    IdVersion:                  2
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sdc1
    ReadOnly:                   false
    Size:                       494205403136
    Symlinks:                   /dev/disk/by-diskseq/99-part1
                               
/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_04015e8d9545760cbb5adf8f417f6c7770a5cea29fffd2576fbc36c4f6effa149bff00000000000000000000204fe2bdff85801881558107ce3000df-0:0-part1
                                /dev/disk/by-label/backup01
                                /dev/disk/by-partuuid/a03c4120-01
                               
/dev/disk/by-path/pci-0000:02:00.0-usb-0:7:1.0-scsi-0:0:0:0-part/by-label/backup01
                               
/dev/disk/by-path/pci-0000:02:00.0-usb-0:7:1.0-scsi-0:0:0:0-part/by-partnum/1
                               
/dev/disk/by-path/pci-0000:02:00.0-usb-0:7:1.0-scsi-0:0:0:0-part/by-partuuid/a03c4120-01
                               
/dev/disk/by-path/pci-0000:02:00.0-usb-0:7:1.0-scsi-0:0:0:0-part/by-uuid/de9ab957-6766-4788-8d55-768d28587718
                               
/dev/disk/by-path/pci-0000:02:00.0-usb-0:7:1.0-scsi-0:0:0:0-part1
                               
/dev/disk/by-path/pci-0000:02:00.0-usbv2-0:7:1.0-scsi-0:0:0:0-part1
                               
/dev/disk/by-uuid/de9ab957-6766-4788-8d55-768d28587718
    UserspaceMountOptions:      
  org.freedesktop.UDisks2.Encrypted:
    ChildConfiguration:         []
    CleartextDevice:            '/'
    HintEncryptionType:         
    MetadataSize:               16777216
  org.freedesktop.UDisks2.Partition:
    Flags:              0
    IsContained:        false
    IsContainer:        false
    Name:               
    Number:             1
    Offset:             1048576
    Size:               494205403136
    Table:              '/org/freedesktop/UDisks2/block_devices/sdc'
    Type:               0x83
    UUID:               a03c4120-01

I don't see any other relevant entries.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to