same issue, completely reproducible:
- from a cold boot (or any other starting condition)
- connect and power up external usb drive with encrypted LUKS volume in first 
partition
- use GUI or command line to unlock and mount volume
- use the volume for backup
- umount the encrypted volume
- attempt to lock (close) the encrypted block device

Encrypted data is still visible in nautilus, even though the mount table
(mtab) no longer shows the presence of the device.

The difference: There is no way to lock/close the device.
manually running 
/sbin/cryptsetup luksClose udisks-luks-uuid-...
yields: 
Device udisks-luks-uuid-... is not active.
Device udisks-luks-uuid/...  not found
depending on which UUID is used in place of the ellipsis

cryptsetup luksClose /sbin/cryptsetup luksClose /dev/disk/by-uuid/... 
yields:
"Device ... is busy" message

the two UUIDs I'm working with:
/dev/sdc1: UUID="4e1a0099-6362-44a7-9435-3a87fb8add16" TYPE="crypto_LUKS" 
/dev/mapper/external-mirror:  UUID="a43905ea-0d70-4d5f-83e2-852ef930c0ad" 
TYPE="ext4"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/529502

Title:
  cryptsetup luksClose fails with "busy"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/529502/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to