The necessary functions in /lib/rcscripts/addons/dm-crypt-start.sh and /lib/rcscripts/addons/dm-crypt-stop.sh are not executed at all with baselayout 2.0. To hotfix that I've just created an init-script called volumes (because the related function is dm_crypt_execute_volumes) which looks like that: depend() { if [ -e /lib/librc.so ]; then # on baselayout-1 this causes # dependency-cycles with checkroot (before *) before checkfs after modules fi } start() { einfo "Mapping crypt devices" start_addon dm-crypt eend 0 } stop() { einfo "Unmapping crypto devices" stop_addon dm-crypt eend 0 } That works fine exception that this is of course not the correct solution.
Uhm... emerge -C sys-fs/cryptsetup-luks; emerge sys-fs/cryptsetup; rc-update add dmcrypt boot
OK, I see this works. Is there any reason for luks nowadays? I guess warning the user about using luks would be a good idea then.
we had to wait for the new cryptsetup to stabilize first ... now that it has, we can mask/punt cryptsetup-luks
We switched during 2007.1, so we're good for 2008.0's release.
Can someone please clarify what the New Way(tm) is for doing encrypted volumes? It sounds in this bug like luks is no longer the way to go, but that's all I can find references to on the forums and on the wiki... Also, the 2008.0 live cd doesn't have a cryptsetup command at all. Any chance of a developer going through and weeding out the old articles on the wiki and maybe making a post on Planet Gentoo?
(In reply to comment #3) > we had to wait for the new cryptsetup to stabilize first ... now that it has, > we can mask/punt cryptsetup-luks > I've been trying to get in touch with Ben to make this happen. But it appears he's still away. <Cardoe> !away strerror <jeeves> strerror -> away in paris, will be back 23rd feb. I'd be fine with removing cryptsetup-luks, and sticking a pkgmove entry in for it and then fixing all the deps. release: would that screw anything up for you?
Nope. We're on cryptsetup, exclusively.
Doug: go for it ... i dont think there's anything holding up the process now previously we were just waiting for things to settle / stabilize
punted