luks / encrypted volume can not be closed

Bug #1463238 reported by Phillip Susi on 2015-06-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
New
Undecided
Unassigned
udisks2 (Ubuntu)
Undecided
Unassigned
unity (Ubuntu)
Undecided
Unassigned

Bug Description

If you install ubuntu with the default full disk encryption option, it creates a partition as a luks container holding an lvm physical volume, which holds two logical volumes: one for root and one for swap. If you boot the livecd, it shows an encrypted disk icon on the unity launcher. Clicking this icon prompts for the luks password and then opens it, and the lvm inside is automatically mounted. The encrypted physical volume vanishes from the unity launcher and the contained root partition is auto mounted. Unmounting this partition still leaves the luks volume unlocked so you can remount it without having to supply the encryption password.

Using the gnome disks utility to unlock the luks volume causes it to show up as if it is a sub-partition of the luks partition, and trying to click the lock icon to close the luks volume results in a giant error dialog because it is in use by the lvm volumes. It should be smart enough to deactivate the vg contained in the luks volume so it can then deactivate the luks volume.

Phillip Susi (psusi) on 2015-06-09
summary: - lukes / encrypted volume can not be closed
+ luks / encrypted volume can not be closed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers