Bug 590067 - Grub lens doesn't handle comments in a title section
Grub lens doesn't handle comments in a title section
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: augeas (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: David Lutterkort
BaseOS QE - Apps
Depends On:
Blocks: 558751
  Show dependency treegraph
Reported: 2010-05-07 12:05 EDT by Matthew Booth
Modified: 2013-04-30 19:41 EDT (History)
5 users (show)

See Also:
Fixed In Version: augeas-0.7.2-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-11-10 14:54:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthew Booth 2010-05-07 12:05:35 EDT
Description of problem:
The grub lens fails to parse grub.conf containing the following:

title Red Hat Enterprise Linux AS (2.4.21-63.ELsmp)
    root (hd0,0)
    kernel /vmlinuz-2.4.21-63.ELsmp ro root=LABEL=/
    #initrd /initrd-2.4.21-63.ELsmp.img
    initrd /initrd-2.4.21-63.EL.img.e1000.8139

Version-Release number of selected component (if applicable):
Comment 2 RHEL Product and Program Management 2010-05-07 13:38:42 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
Comment 3 David Lutterkort 2010-05-07 17:11:40 EDT
Fixed this upstream with commit b92bc6de

Do you want me to build 0.7.1-2 with this patch or can you wait until I rebase to 0.7.2 for beta 2 ?
Comment 4 Matthew Booth 2010-05-10 05:43:41 EDT
Thanks, David. I was expecting to do this one myself this morning: this is a pleasant surprise :)

We've got our own build of augeas for RHEL 5. I'll do a new build myself today containing the updated lens.
Comment 5 David Lutterkort 2010-06-29 22:12:51 EDT
Rebased augeas to 0.7.2 which contains a fix for this issue
Comment 8 Mohua Li 2010-08-03 06:40:47 EDT
test on 


convert a guest with grub.conf setting like below,
title Red Hat Enterprise Linux Server (2.6.18-194.el5)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-194.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	#initrd /initrd-2.6.18-194.el5.img2
         initrd /initrd-2.6.18-194.el5.img

1,convert the guest with ,
virt-v2v -ic esx://$esxserver/?no_verify=1 -o rhev -osd $export  $guest
2,import the guest, check the converted result,

actual result, 
1,convert without any error or augeas error,
2,the guest driver installed correctly after converted,

so set the bug as verified,
Comment 9 releng-rhel@redhat.com 2010-11-10 14:54:50 EST
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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