Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270831 - cryptsetup-1.0.6-r2 improperly detects openrc/baselayout-2
Summary: cryptsetup-1.0.6-r2 improperly detects openrc/baselayout-2
Status: RESOLVED DUPLICATE of bug 270646
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-22 14:30 UTC by Brad House
Modified: 2009-05-23 20:46 UTC (History)
0 users

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 Brad House 2009-05-22 14:30:36 UTC
cryptsetup-1.0.6-r2, when attempting to start, outputs this message:
* The  init script is written for baselayout-2
* Please do not use it with baselayout-1
* ERROR: dmcrypt failed to start

At least as of openrc-0.4.3-r2, /lib/librc.so does not exist.  There is infact a /lib/librc.so.1 though (as well as a /usr/lib/librc.so, but that file can't be used since we can't guarantee /usr is mounted).  As a fix, I've just been running a command like this which allows dmcrypt to start (at boot, or otherwise):

sed -i -e 's:/lib/librc.so :/lib/librc.so.1 :' /etc/init.d/dmcrypt

I assume this is a cryptsetup bug, but it could be classified as a bug that openrc doesn't generate the /lib/librc.so symlink.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2009-05-23 20:46:34 UTC

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