[Bug 529502] Re: cryptsetup luksClose fails with "busy"
scar
3nuv2ua7ye at snkmail.com
Wed Jun 1 17:45:17 UTC 2011
i have this issue too on lucid with cryptsetup 2:1.1.0~rc2-1ubuntu13
although the suggested work-around does not work for me. i've plugged
in an external disk taken out of another ubuntu installation:
$ sudo cryptsetup luksOpen /dev/sde5 sde5_crypt
(this makes available the -root and -swap partitions in /dev/mapper)
$ sudo mount /dev/mapper/laptop-root /mnt/laptop-root
(now i have just moved some files from the partition and am ready to unmount)
$ sudo umount /mnt/laptop-root/
$ sudo cryptsetup luksClose sde5_crypt
Device sde5_crypt is busy.
$
is there any way to cleanly remove the drive without shutting down the
whole system??
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/529502
Title:
cryptsetup luksClose fails with "busy"
Status in “cryptsetup” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: nautilus
Encrypted LUKS volume lives in /dev/sdb1 (first partition in external
USB HDD)
Steps:
1) Plug USB HDD
2) Choose Places -> Encrypted volume
3) Type password in dialog
Volume is sucesfully mounted and nautilus window is open on mount
point
4) Choose File -> Umount
Expected: partition is unmounted and encryted block device is removed
from /dev/mapper
Result: volume is unmouted, cryptsetup fails to remove encrypted block device in /dev/mapper with error:
Error locking device: cryptsetup exited with exit code 240: Device udisks-luks-uuid-[...] is busy.
Manually running cryptsetup luksClose udisks-luks-uuid-[...]
afterwards works as expected.
ProblemType: Bug
Architecture: amd64
Date: Sun Feb 28 16:16:53 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100219)
Package: nautilus 1:2.29.91-0ubuntu1
ProcEnviron:
LANGUAGE=es_ES.utf8
PATH=(custom, user)
LANG=es_ES.utf8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: nautilus
Uname: Linux 2.6.32-14-generic x86_64
More information about the foundations-bugs
mailing list