View previous topic :: View next topic |
Author |
Message |
psdasilva Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 03 Sep 2005 Posts: 239
|
Posted: Mon Jan 10, 2011 5:22 pm Post subject: [SOLVED] Encrypted swaps stopped working |
|
|
Hi.
The cryptsetup statement stopped being issued during the boot process. This causes swapon -a to fail because /dev/mapper/... swaps didn't get created.
It used to work. I suppose the problem began to occur after a recent upgrade because this happens on both my two gentoo systems.
Issuing the cryptsetup manually works and then also does swapon -a.
What issues the cryptsetup during boot?
Where to look up?
Here is some pertinent info ...
I am using baselayout 1.12.14-r1.
Code: |
/etc/conf.d/dmcrypt
...
swap=CA-swp
source='/dev/sda5'
swap=CB-swp
source='/dev/sdb5'
/etc/fstab
...
/dev/mapper/CA-swp none swap sw,pri=2 0 0
/dev/mapper/CB-swp none swap sw,pri=1 0 0
|
Last edited by psdasilva on Tue Jan 11, 2011 2:48 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gentoo_ram Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 25 Oct 2007 Posts: 515 Location: San Diego, California USA
|
Posted: Mon Jan 10, 2011 7:09 pm Post subject: |
|
|
The startup script got messed up in cryptsetup 1.1.3-r1. Upgrade to 1.1.3-r2. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
elko n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Feb 2010 Posts: 55
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
psdasilva Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 03 Sep 2005 Posts: 239
|
Posted: Tue Jan 11, 2011 2:47 am Post subject: |
|
|
gentoo_ram wrote: | The startup script got messed up in cryptsetup 1.1.3-r1. Upgrade to 1.1.3-r2. |
That's it! It works now.
I never thought of being cryptsetup because it worked when issued manually.
Thanks all. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|