FS#6038 - initscripts reordering of lvm and encryption breaks existing setups

Attached to Project: Arch Linux
Opened by Alex Merry (pippin) - Tuesday, 19 December 2006, 13:54 GMT
Last edited by Roman Kyrylych (Romashka) - Wednesday, 20 December 2006, 00:20 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The latest version of initscripts (0.8) swaps the setting up of encrypted partitions and the detection of lvm groups. Previously, encrypted partitions were set up, followed by lvm groups. This meant that encrypting lvm groups required encrypting the underlying physical volumes.

Now, lvm groups are scanned for before encrypted partitions are set up. So encrypting lvm groups requires encrypting the logical volumes. This breaks any existing setups where the physical volumes are encrypted, since the physical volumes won't be available until after they have been scanned for.

One possible solution would be to scan for volume groups both before and after the encryption setup code.
This task depends upon

This task blocks these from closing
 FS#6031 - 0.8 installation ISO showstoppers 
Closed by  Thomas Bächler (brain0)
Monday, 29 January 2007, 20:46 GMT
Reason for closing:  Fixed
Additional comments about closing:  committed to cvs, will be fixed in next initscripts release

Loading...