KDE / Dolphin / the underlying framework does not call "dmsetup remove /dev/mapper/luks-$UUID" or an equivalent API call after umounting the last partition in the LUKS container. This causes KDE to be unable to mount this device ever again until the next reboot. This works when directly ejecting the USB disk, but not when umounting the encrypted partition first. => Mounting and umounting encrypted partitions on removable media repeatedly should be possible.
Shouldn't udev do that? Solid just asks UDev to eject, from what I can tell.
UDisks, not UDev
Hello, I have tried to replicate this bug but I haven't been able to reproduce the bug behavior. I can mount and unmount the luks encrypted of an usb key multiple times with dolphin without any problem. System information: Operating System: Manjaro Linux KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.15.0 Kernel Version: 5.7.0-3-MANJARO OS Type: 64-bit Processors: 8 × Intel® Core™ i7-7820HQ CPU @ 2.90GHz Memory: 15.2 Gio
Same here. jens, can you still reproduce this hwen using the latest versions of Dolphin and KDE Frameworks?
I cannot reproduce this bug any more. However, whenever I mount an encrypted disk or partition, I still get an error message in Dolphin that the disk is "already mounted" and cannot be mounted - but only after it has been successfully mounted.
I see that too. Let's track it in a new bug report.