Bug 441023

Summary: mkinitrd uses incorrect device name for encrypted swap
Product: [Fedora] Fedora Reporter: Stefan Becker <chemobejk>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: mkinitrd-6.0.43-1.fc9.i386 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-07 17:15:52 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 Stefan Becker 2008-04-05 06:57:10 UTC
Description of problem:

This is a followup to bug #441001

mkinitrd doesn't use the correct device name when the swap is encrypted. Here
are the changes I had to make to the init script in order to get hibernation
working:

 echo Setting up disk encryption: /dev/mapper/VolGroup00-LogVol01
 cryptsetup luksOpen /dev/mapper/VolGroup00-LogVol01 luks-VolGroup00-LogVol01
-resume mapper/luks-VolGroup00-LogVol01
+resume /dev/mapper/luks-VolGroup00-LogVol01
 echo Creating root device.

i.e. the leading "/dev/" is missing.

If this gets fixed it looks like that Fedora 9 encrypted disk support will be
ready. Yeah!

Version-Release number of selected component (if applicable):
mkinitrd-6.0.41-1.fc9.i386

Comment 1 Peter Jones 2008-04-07 14:58:16 UTC
Do you still see this in 6.0.42 ?

Comment 2 Stefan Becker 2008-04-07 17:15:52 UTC
Retried with 

   mkinitrd-6.0.43-1.fc9.i386

Works OK now. Thanks