Bug 441023 - mkinitrd uses incorrect device name for encrypted swap
Summary: mkinitrd uses incorrect device name for encrypted swap
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: rawhide
Hardware: i386
OS: Linux
low
high
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-05 06:57 UTC by Stefan Becker
Modified: 2008-08-02 23:40 UTC (History)
2 users (show)

Fixed In Version: mkinitrd-6.0.43-1.fc9.i386
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-07 17:15:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.