Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3613

Summary: /etc/init.d/checkfs from sys-apps/baselayout
Product: Gentoo Linux Reporter: Cong <vo.chi.cong>
Component: New packagesAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cong 2002-06-11 00:20:36 UTC
To see whether lvm is already active or not before doing '/sbin/vgchange -ay'

diff /etc/init.d/checkfs /etc/init.d/._cfg0000_checkfs
15c15
<       if [ -x /sbin/vgchange -a -f /etc/lvmtab ] && ! [ -d /proc/lvm ]
---
>       if [ -x /sbin/vgchange -a -f /etc/lvmtab ]
19c19
<               /sbin/vgscan > /dev/null && /sbin/vgchange -a y >/dev/null
---
>               /sbin/vgscan && /sbin/vgchange -a y >/dev/null
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-17 13:40:07 UTC
Same here.  It is also present in etc/services on rc-scripts CVS, so closing
this bug.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-17 14:39:59 UTC
Whoops, my bad ... wrong bug *g*.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-15 15:10:03 UTC
You sure this will not break things ... say for instance the user have
added volumes in the mean time ?
Comment 4 Cong 2002-07-15 22:41:14 UTC
I think that /etc/init.d/checkfs is excuted at boot time only, isn't it? 
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-16 17:45:49 UTC
Yep, or rather, it should.  Just checking, as I have not really messed with
LVM.

Anyhow, fixed on CVS, thanks.