| Summary: | sys-apps/openrc-0.11.4: swap on lvm doesn't get enabled | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
| Component: | New packages | Assignee: | OpenRC Team <openrc> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | poncho |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
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>. |
/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 ...