Mailinglist Archive: opensuse-bugs (4172 mails)

< Previous Next >
[Bug 512908] New: Encrypted removable media is not unmounted when removed
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 12 Jun 2009 16:09:55 -0600
  • Message-id: <bug-512908-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

Summary: Encrypted removable media is not unmounted when
Classification: openSUSE
Product: openSUSE 11.1
Version: Final
Platform: Other
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: KDE3
AssignedTo: kde-maintainers@xxxxxxx
ReportedBy: volker3204@xxxxxxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---

I am unsure whether this is specific to KDE or belongs only to hal & co.

When pulling out an encrypted removable device without unmounting it first, its
filesystem is not unmounted and its encryption mapping is not deleted. The
device was created with yast, uses LUKS, and gives a status like this:

/dev/mapper/san is active:
cipher: aes-cbc-essiv:sha256
keysize: 128 bits
device: (null)
offset: 1032 sectors
size: 480918 sectors
mode: read/write

The /dev/sdX device remains allocated to the no longer connected USB device
indefinitely, even if the device is subsequently plugged in again, at which
point it will be allocated the next available /dev/sdX.

The only 2 ways to clear this is to manually as root unmount the filesystem and
clear the dm-crypt mapping, or to reboot. A non-savvy user only has option 2

This is oS 11.1 with KDE 3.5, all latest updates installed and not using
non-official KDE releases. I am happy to provide more logs (which?) but it
should be easy to reproduce.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >