Bug 159193 - When creating LVM on RAID partitions the anaconda-ks.cfg is invalid
When creating LVM on RAID partitions the anaconda-ks.cfg is invalid
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: anaconda (Show other bugs)
4.0
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Anaconda Maintenance Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-31 09:13 EDT by Tom Diehl
Modified: 2008-06-21 16:07 EDT (History)
0 users

See Also:
Fixed In Version: RHEL4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-21 16:07:23 EDT
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 Tom Diehl 2005-05-31 09:13:31 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040808 Firefox/0.9.3

Description of problem:
Description of problem: When creating LVM on RAID partitions the
anaconda-ks.cfg is invalid.  In particular, the "raid pv.20 --fstype
physical volume (LVM) --level=RAID1 raid.17 raid.18" line that was
created should have had the fstype quoted since it contains embedded
spaces.




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

How reproducible:
Always

Steps to Reproduce:
1. Do an install of el4 with lvm on raid.
2. reinstall using the partition information from anaconda-ks.cfg
3. Install fails with "Tried to use an undefined partition in RAID specification"
  

Actual Results:  Backtrace occurred.

Expected Results:  Normal install

Additional info:

The following line was generated by anaconda:
raid pv.26 --fstype physical volume (LVM) --level=RAID1 raid.24 raid.25

The above is the problem. Removing the --fstype part fixes the problem.
I suppose putting quotes around "physical volume (LVM)" would also fix it but I have not tested this.

This is the same bug as 119243 which was supposed to be fixed in el3-u3.
Comment 1 Jeremy Katz 2005-06-07 15:31:00 EDT
Fixed in CVS on all branches.

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