Bug 710259 - Encrypted swap not initialised at boot (dependency failed)
Summary: Encrypted swap not initialised at boot (dependency failed)
Keywords:
Status: CLOSED DUPLICATE of bug 710839
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 15
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-02 20:25 UTC by Dag
Modified: 2011-06-09 13:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-09 13:07:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dag 2011-06-02 20:25:13 UTC
Description of problem:
I set up an encrypted swap partition 1 year ago (Fedora 13) in crypttab and upgraded to Fedora 14 without problem.
However I upgraded yesterday to Fedora 15 and my encrypted swap setup ceased functionning.

Version-Release number of selected component (if applicable):
kernel 2.6.38.6-27.fc15.x86_64

How reproducible:
always

Steps to Reproduce:
1. set up an encrypted swap partition in crypttab :
swap /dev/sdaX /dev/urandom swap
2. set up fstab accordingly
/dev/mapper/swap swap swap defaults 0 0
3. reboot
4. the boot process is waiting for swap to be ready (1 or 2 minutes!), then fails :
Starting swap aborted because a dependency failed.

  
Actual results:
There is no swap on my system at boot.

Expected results:
Swap partition should be available as a regular swap-formatted device on /dev/mapper/swap.

Additional info:
I tried to check where the problem was :
dmsetup info swap
It says that swap device is correctly configured.
swapon /dev/mapper/swap
says that it can't use thi as swap.
I entered this :
mkswap /dev/mapper/swap
swapon /dev/mapper/swap
OK : my system has now encrypted swap.

So it seems that the device was not recognised as swap at boottime, but after formatting it, it's OK.

I have a tmp device that is configured like the swap device, but this one is working OK.

Comment 1 Bert DeKnuydt 2011-06-05 19:57:10 UTC
Seems a duplicate of 710839 to me.  It 'hangs' 60 seconds per swap device.

Comment 2 Dag 2011-06-09 13:07:08 UTC
hi all,

Yes, I checked for bug 710839 : it is exactly what I encountered in this present bug (710259).

So I suppose I can mark this bug (710259) as a duplicate of bug 710839.

Bye for now

*** This bug has been marked as a duplicate of bug 710839 ***


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