Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 270831

Summary: cryptsetup-1.0.6-r2 improperly detects openrc/baselayout-2
Product: Gentoo Linux Reporter: Brad House <brad>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***