#148: augeas lense for grub is not parsing grub.conf when a map device is 
present
------------------------+---------------------------------------------------
 Reporter:  slseed1969  |       Owner:  lutter
     Type:  defect      |      Status:  new   
 Priority:  major       |   Milestone:  next  
Component:  Augeas      |     Version:  0.7.0 
 Keywords:  grub        |  
------------------------+---------------------------------------------------
 When the /etc/grub.conf file contains entries that look like this:

 title WindowsXP
         map (hd1) (hd0)
         map (hd0) (hd1)
         rootnoverify (hd1,0)
         chainloader +1

 Augeas does not return any data when trying to parse the file.

 %augtool print /files/etc/grub.conf/
 %

 the command above does not return anything. If I comment out the map
 entries I get results:

 /files/etc/grub.conf
 ...
 /files/etc/grub.conf/title[2] = "WindowsXP"
 /files/etc/grub.conf/title[2]/#comment[1] = "map (hd1) (hd0)"
 /files/etc/grub.conf/title[2]/#comment[2] = "map (hd0) (hd1)"
 /files/etc/grub.conf/title[2]/rootnoverify = "(hd1,0)"
 /files/etc/grub.conf/title[2]/chainloader = "+1"

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/148>
Augeas <http://augeas.net/>
a configuration API

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to