[augeas-devel] [Augeas] #36: grub lense fails to parse grub conf file

Augeas trac at fedorahosted.org
Fri Feb 6 11:33:08 UTC 2009


#36: grub lense fails to parse grub conf file
--------------------+-------------------------------------------------------
 Reporter:  pietro  |       Owner:  lutter
     Type:  defect  |      Status:  new   
 Priority:  major   |   Milestone:  next  
Component:  Augeas  |     Version:  devel 
 Keywords:  grub    |  
--------------------+-------------------------------------------------------
 i installed augeas in a debian machine. i changed the last line of the
 grub lense file from:

 {{{
 let xfm = transform lns (incl "/etc/grub.conf")
 }}}

 to

 {{{
 let xfm = transform lns (incl "/boot/grub/menu.lst")
 }}}

 in order to reflect the file location on debian. in some machines augeas
 parse the file in order it fails. this is augtool output on a failure:

 {{{
 augtool> ls /augeas/files/boot/grub/menu.lst
 path = /files/boot/grub/menu.lst
 lens/ = (none)
 error/ = parse_failed
 augtool> ls /augeas/files/boot/grub/menu.lst/lens/
 info = /usr/share/augeas/lenses/grub.aug:70.14-.46
 id = 0x815e0d8
 augtool> ls /augeas/files/boot/grub/menu.lst/error/
 pos = 3608
 message = Short iteration
 }}}

 i attached the menu.lst file.

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




More information about the augeas-devel mailing list