aureq n00b
Joined: 27 Jan 2003 Posts: 20
|
Posted: Thu May 08, 2003 9:35 am Post subject: evms minor missing and bug |
|
|
Hello.
BUG:
In gentoo-source-2.4.20-r3 there is evms 2.0.0 but you should also include evms 2.0.1 patch to correct a bug.
MISSING:
the init script is incomplete I think.
Here is mine
Code: |
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/sys-apps/evms/files/evms2-init,v 1.1 2003/04/07 08:05:54 tantive Exp $
depend() {
before localmount
}
start() {
ebegin "Starting evms"
evms_activate
eend 0
}
stop() {
ebegin "Stopping evms"
evms_deactivate
eend 0
} |
You have notice the important part is :
depend() {
before localmount
}
you should also add evms at init boot runlevel to be able to automatically mount evms volume at boot time
Code: |
rc-update add evms boot
|
If someone could notify the gentoo evms's maintainer to include these informations.
Thanks. |
|