[augeas-devel] [Augeas] #199: Failure to parse menu.lst on SLES11 SP1

Augeas trac at fedorahosted.org
Thu May 12 19:16:28 UTC 2011


#199: Failure to parse menu.lst on SLES11 SP1
-----------------------+----------------------------------------------------
  Reporter:  gaferion  |       Owner:  lutter  
      Type:  defect    |      Status:  assigned
  Priority:  major     |   Milestone:  next    
 Component:  Augeas    |     Version:  0.8.0   
Resolution:            |    Keywords:          
-----------------------+----------------------------------------------------
Comment (by gaferion):

 I can create a new bug if you want, but on a different system I found
 another item that causes parsing to fail after a SLES11 build:

 {{{

 eagnmnmbpe28:~ # augtool
 augtool> ls /augeas/files/boot/grub/menu.lst/error/
 pos = 1346
 line = 22
 char = 0
 lens = /usr/local/share/augeas/lenses/dist/grub.aug:152.14-.63:
 message = Iterated lens matched less than it should
 augtool>
 }}}

 This seems to be stemming from 'configfile' entry under a title:

 {{{
 ###Don't change this comment - YaST2 identifier: Original name:  SUSE
 Linux Enterprise Server 11 SP1 - 2.6.32.19-0.2 (/dev/cciss/c0d1p2)###
 title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.19-0.2
 (/dev/cciss/c0d1p2)
     root (hd0,1)
     configfile /boot/grub/menu.lst
 }}}

 If I remove that 'configfile' entry the file then parses fine.

 Let me know if you'd like a separate bug for this.  Thanks!

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/199#comment:4>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list