Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3613 - /etc/init.d/checkfs from sys-apps/baselayout
Summary: /etc/init.d/checkfs from sys-apps/baselayout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-11 00:20 UTC by Cong
Modified: 2003-02-04 19:42 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 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.