Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223475 - dmcrypt needs to wait for raid volumes
Summary: dmcrypt needs to wait for raid volumes
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-24 18:47 UTC by Anders Aagaard
Modified: 2015-04-04 21:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Aagaard 2008-05-24 18:47:20 UTC
When using dmcrypt, baselayout-2, parallel booting and software raid, dmcrypt is started before my raid volumes are activated.  This results in a bad decrypted cryptsetup volume.

/dev/mapper/raid will exist, and from dmcrypt's perspective it looks ok, but will be linked to a unactivated /dev/md0.  The filesystem can not be mounted until I "cryptsetup remove raid" and rerun dmcrypt.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2010-06-03 01:16:28 UTC
some people do raid-on-dmcrypt while others do dmcrypt-on-raid.  there is no way to satisfy everyone.  if you need raid before dmcrypt, then set the dependency in your own conf.d file.  use rc_need as documented in `man 8 runscript`.