It seems that udisks doesn't tear down cleartext LUKS devices when its slave is forcibly removed, for example, by unplugging a USB drive which holds a LUKS-encrypted partition.
Re-inserting the device then yields the usual password prompt to decrypt the device, but fails to load it with a cryptsetup error:
As reported in Launchpad here: https:/ /bugs.edge. launchpad. net/ubuntu/ lucid/+ source/ gnome-disk- utility/ +bug/484429
It seems that udisks doesn't tear down cleartext LUKS devices when its slave is forcibly removed, for example, by unplugging a USB drive which holds a LUKS-encrypted partition.
Re-inserting the device then yields the usual password prompt to decrypt the device, but fails to load it with a cryptsetup error:
Error unlocking device: cryptsetup exited with exit code 239: Device udisks- luks-uuid- 7bdbda08- 473f-41eb- 9837-88a4285b1c 05-uid1000 already exists.