Summary: | EVMS init script lacks in dependencies. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aurelien Requiem <aurelien> |
Component: | New packages | Assignee: | Jeremy Huddleston (RETIRED) <eradicator> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | timmy |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Aurelien Requiem
2003-05-23 01:43:04 UTC
This was working fine for me until I upgraded to sys-apps/baselayout-1.8.6.8-r1. Now localmount always gets called first. I've even put "need evms" in localmount's depend() function with no success. Localmount is still being run before evms. The best way to fix this is to patch /etc/init.s/checkfs and /etc/init/d/halt.sh These scripts both cope with normal LVM. The evms service is superfluous. patch for checkfs: --- checkfs.org 2003-07-04 21:02:23.000000000 +1200 +++ checkfs 2003-07-04 21:35:38.000000000 +1200 @@ -28,6 +28,10 @@ /sbin/vgchange -a y >/dev/null fi eend $? "Failed to setup the LVM" + elif [ -x /sbin/evms_activate ] + then + ebegin "Setting up evms" + /sbin/evms_activate -q fi # Start software raid. The patch for halt.sh is similar --John the reason that adding "before localmount" to the evms2 init script doesn't fix the problem is that localmount is set to "before *" which supercede the "before localmount" in evms. This is annoying but acceptable (prevents dependency problems) for the current implementation of dependency tracking. Please see bug #24064 for an appropriate patch for checkfs (to implement EVMS startup). It hopefully will be included in a future version of baselayout. And a small correction... There should be nothing added to the halt.sh script.. evms_deactivate is for debugging only and has been removed from the current EVMS release. - Mike I'm taking evms stuff It actually needs to be before checkfs which is before localmount. I fixed this a couple days ago. Thanks. |