Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29244 - evms start up does not check for kernel evms availability
Summary: evms start up does not check for kernel evms availability
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-20 23:40 UTC by Alan
Modified: 2004-06-13 13:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan 2003-09-20 23:40:56 UTC
/etc/init.d/evms (evms 2.0.1) and /etc/init.d/checkfs (baselayout 1.8.6.10-r1)
only check for /sbin/evms_activate before running evms_activate, and if the
kernel does not support evms (ie: a non-gentoo-sources kernel such as
ac-sources) there is a large and ugly error displayed.  Cosmetic I guess, but
something that could be fixed I think.  Just check if /proc/evms (or whatever
the kernel module creates) exists as well as /sbin/evms_activate before running it.

I'd provide a patch but I don't have a kernel evms enabled system here to see
what the script could check for to see if it exists. 

Reproducible: Always
Steps to Reproduce:
1. run a non-evms kernel such as ac-sources
2. have evms package installed
3. boot up and observe the ugly boot up messages as it tries unsuccessfully to
run evms_activate

Actual Results:  
ugly error messages

Expected Results:  
not run evms_activate if the kernel wasn't evms enabled.

System uname: 2.4.22-ac1 i686 AMD Athlon(tm) XP 2500+
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm encode foomaticdb jpeg libg++ mad mikmod ncurses pdflib zlib
gdbm tetex tcltk guile qt kde motif gphoto2 cdr X gtk gnome alsa shadow snmp
innodb java -nls -doc xine -gpm xv slang readline berkdb ddbm tcpd pam libwww
3dnow mmx ssl mitshm arts lame perl python gif imlib sdl oggvorbis qtmt opengl
avi mpeg quicktime png tiff pda slp cups dga bonobo evo gtkhtml esd xmms crypt
imap mozilla spell truetype xml xml2 mysql postgres samba -ldap xinerama exif
vim-with-x aalib directfb fbcon svga flash gtk2 scanner"
Comment 1 rob holland (RETIRED) gentoo-dev 2003-09-25 05:32:16 UTC
no idea why I got this bug...
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-13 13:33:31 UTC
evms2 is userland-only and just uses the device-mapper code in the kernel...