Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7080 - checkfs tests for valid dir /proc/lvm for activating LVM
Summary: checkfs tests for valid dir /proc/lvm for activating LVM
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 7114 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-26 16:38 UTC by Roland Stadtmueller
Modified: 2003-02-04 19:42 UTC (History)
4 users (show)

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 Roland Stadtmueller 2002-08-26 16:38:33 UTC
Hi,  
/etc/init.d/checkfs tests for [ -x /sbin/vgscan -a -d /proc/lvm ]. When using  
LVM as module, this will fail causing strange errors, as the lvm-mod is not 
loaded yet and did not create an /proc/lvm entry. Executing /sbin/vgscan will 
force the kernel to load lvm-mod.o all by itself, so testing and executing 
/sbin/vgscan should be enough. 
 
Have fun, 
  Roland
Comment 1 SpanKY gentoo-dev 2002-08-27 00:58:24 UTC
being handled on gentoo-dev@gentoo.org right now ... fix should be out soon
Comment 2 SpanKY gentoo-dev 2002-08-27 09:28:27 UTC
*** Bug 7114 has been marked as a duplicate of this bug. ***
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-30 15:16:14 UTC
Fix is already in CVS.  Just add

-------------------------------cut--------------------------------
	# Load LVM modules if needed
	/sbin/modprobe -a lvm-mod &>/dev/null || :
------------------------------------------------------------------

before that line for now.
Comment 4 SpanKY gentoo-dev 2002-09-05 14:30:12 UTC
bug has been fixed, closing bug