Bug 437051

Summary: RFE Rescue mode should be smarter about asking for passwords for RAID + Encryption
Product: [Fedora] Fedora Reporter: Bruno Wolff III <bruno>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 11.4.0.52-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-14 16:47:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bruno Wolff III 2008-03-11 21:38:54 UTC
Description of problem:
When rescuing a system with encryption over raid, you get prompted for a
password for each partition even though anaconda should be able to tell that the
partition isn't encrypted (by looking for the software raid information to see
if it is readable). While you can get where you want, this is something that is
likely to confuse people and ends up being a lot of busy work. (While I haven't
tested it, presumably entering a key for one or more of the partitions will
result in anaconda trying to use raid over encryption which would break things.)
The test should be pretty reliable as you are unlikely to randomly get raid
setup information just by chance. This should allow you to determining if the
partition is encrypted with raid running on top of that or if the encryption is
on top of the raid.
While I don't expect this to be high priority, it would be nice to eventually
have rescue mode work this way.

Version-Release number of selected component (if applicable):
11.4.0.49-1

How reproducible:
100%

Steps to Reproduce:
1. Install a system with encrypted file systems on top of raid 1 arrays.
2. Boot in rescue mode.
3.
  
Actual results:
Getting prompted for keys for each partition in addition to each raid array.

Expected results:
Just getting prompted for keys to each raid array.

Additional info:

Comment 1 David Lehman 2008-03-11 22:53:40 UTC
I just ran into this myself today.

Comment 2 David Lehman 2008-03-13 16:52:46 UTC
Should be fixed in anaconda-11.4.0.52-1.

Comment 3 Bruno Wolff III 2008-03-14 16:47:41 UTC
I tried it (today's boot.iso) out and it worked great. Thanks!