Bug 713078

Summary: Yast2 doesn't ask for LVM encryption key
Product: [openSUSE] openSUSE 11.4 Reporter: Sascha Peilicke <speilicke>
Component: YaST2Assignee: Thomas Fehr <fehr>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Sascha Peilicke 2011-08-19 08:31:20 UTC
When doing a fresh install, Yast2 only asks for an LVM encryption key when the corresponding checkbox is clicked while creating the volume.

However, it does not ask for a key if the (LVM) volume is created first (without the encryption checkbox marked):

1. Press 'Add...', create a LVM volume of any size
2. Press 'Edit...', mark the 'Encrypt device' checkbox, click 'Finish'

You're directed back to the partition layout editor, whereas you should be asked for the password.
Comment 1 Thomas Fehr 2011-08-25 09:05:02 UTC
Reassigned to maintainer of yast2-storage
Comment 2 Thomas Fehr 2011-08-25 09:57:11 UTC
Could not reproduce this with 11.4:
I first created an partition for usage with LVM (id 0x8E), did not check "Encryption".
Afterward I selected "Edit" for this newly created Partition, checked "Encryption" and
was asked for Password.

Maybe you did something subtly different?

If possible please reproduce and attach content of /var/log/YaST2.
Comment 3 Sascha Peilicke 2011-08-25 13:03:43 UTC
Mhm, actually not, apart from cleaning up the partition layout that Yast recommended before. I also can't reproduce it inside VirtualBox. Don't want to endanger a real machine though...
Comment 4 Thomas Fehr 2011-08-25 13:07:13 UTC
Die you request a encrypted LVM VG at the proposal screen?

If yes. the password you gave after proposal screen is saved and used
subsequently for all PVs of the LVM. This is intentional since the same
password shall be usd for all PVs.
Comment 5 Sascha Peilicke 2011-08-26 07:31:30 UTC
Yes, I remember doing that, so it'S a non-issue actually. Yast could give a small hint that it stored the PW already ;-)
Comment 6 Thomas Fehr 2011-08-29 09:48:22 UTC
I admit it is a bit confusing but so far I do not see a place where we could 
inform the user easily that password is already provided.