Bug 81168 - /proc/lvm and /etc/lvmtab created when no LVM selected
/proc/lvm and /etc/lvmtab created when no LVM selected
Status: CLOSED RAWHIDE
Product: Red Hat Public Beta
Classification: Retired
Component: anaconda (Show other bugs)
phoebe
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
:
: 80851 (view as bug list)
Depends On:
Blocks: 79578
  Show dependency treegraph
 
Reported: 2003-01-06 08:07 EST by Richard Lloyd
Modified: 2007-04-18 12:49 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-21 09:15:56 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Richard Lloyd 2003-01-06 08:07:02 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202

Description of problem:
After a non-LVM installation of phoebe,
/proc/lvm and /etc/lvmtab are created,
which they probably shouldn't be.

This also causes the machine boot sequence to
report a message from vgchange that
there are no volume groups.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install phoebe, but make sure you don't use LVM.
2. Look at the boot sequence to look for vgchange messages.
3. Look for the existence of /proc/lvm and /etc/lvmtab.
    

Actual Results:  /proc/lvm and /etc/lvmtab (the latter is a 1-byte "empty" file)
are created, plus a vgchange warning message is also displayed during
the phoebe boot sequence because of this.

Expected Results:  In a non-LVM Red Hat 8.0 system, /proc/lvm and /etc/lvmtab don't
exist and there is no vgchange warning message.

Additional info:

My suspicion is that anaconda is running "vgscan" at some point during
the installation of phoebe when it probably shouldn't if a non-LVM
system is being installed. It is "vgscan" that creates /proc/lvm
and /etc/lvmtab in case you're wondering.

Also note that the tests in /etc/rc.d/rc.sysinit that decide whether
to run "vgscan" and possibly "vgchange" now become true in phoebe's
case, even on a non-LVM system:

if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then
        action $"Setting up Logical Volume Management:" /sbin/vgscan &&
/sbin/vgchange -a y
fi

This is where the vgchange warning about no volume groups comes from.
Comment 1 Jeremy Katz 2003-01-08 17:30:05 EST
Fixed in CVS
Comment 2 Stephen Tweedie 2003-01-13 09:43:57 EST
*** Bug 80851 has been marked as a duplicate of this bug. ***
Comment 3 Jay Turner 2003-01-21 09:15:56 EST
Issue is resolved with anaconda-8.0.94-0.20030120155450.

Note You need to log in before you can comment on or make changes to this bug.