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.
*** This bug has been marked as a duplicate of bug 270646 ***