/etc/init.d/swap: depend() { before localmount keyword -jail -openvz -prefix -vserver -lxc } That runs early enough to not allow swap on lvm, which is not nice. Suggest "after dmcrypt lvm" so that there's a reasonable chance all devices are available ...
Or, mdcrypt and lvm could put "before swap" in their init scripts. Let me think about which way this should go.
I think it is better for services that are not part of OpenRC to control their own starting order, so I think the dmcrypt and lvm init scripts should add "before swap" to their dependencies. On IRC you said this is counter-intuitive. I honestly don't understand why you feel that way, but I can be convinced, so feel free to discuss this with me.
(In reply to comment #2) i don't think those init scripts should be 'before swap' by default. if you have such a setup, put it into your /etc/conf.d/<whatever>.