[augeas-devel] [Augeas] #365: sudoers.lns parse failed while parsing groups

Augeas trac at fedorahosted.org
Tue Sep 10 04:27:14 UTC 2013


#365: sudoers.lns parse failed while parsing groups
---------------------+---------------------
 Reporter:  sagarun  |       Owner:  lutter
     Type:  defect   |      Status:  new
 Priority:  major    |   Milestone:  next
Component:  Augeas   |     Version:  1.0.0
 Keywords:           |  Blocked By:
 Blocking:           |
---------------------+---------------------
 Snippet from my sudoers file

 {{{
 dmi ALL = (ALL) ALL
 abc ALL = (ALL) ALL
 cga ALL = (ALL) ALL
 # VGP (vgp_sudoext) Sudoers Section Start ( DO NOT EDIT! )
 %ADP-LSA-Workstations ALL=(root) ALL
 # VGP (vgp_sudoext) Sudoers Section End
 }}}




 The lens fails to parse %ADP-LSA-Workstations ALL=(root) ALL

 Here is the error log

 {{{
 /augeas/files/etc/sudoers.d/01_yahoo_sudoers/error = "parse_failed"
 /augeas/files/etc/sudoers.d/01_yahoo_sudoers/error/pos = "128"
 /augeas/files/etc/sudoers.d/01_yahoo_sudoers/error/line = "5"
 /augeas/files/etc/sudoers.d/01_yahoo_sudoers/error/char = "0"
 /augeas/files/etc/sudoers.d/01_yahoo_sudoers/error/lens =
 "/usr/share/augeas/lenses/dist/sudoers.aug:530.10-.70:"
 /augeas/files/etc/sudoers.d/01_yahoo_sudoers/error/message = "Iterated
 lens matched less than it should"
 /augeas/files/etc/sudoers/error = "parse_failed"
 /augeas/files/etc/sudoers/error/pos = "0"
 /augeas/files/etc/sudoers/error/line = "1"
 /augeas/files/etc/sudoers/error/char = "0"
 /augeas/files/etc/sudoers/error/lens =
 "/usr/share/augeas/lenses/dist/sudoers.aug:530.10-.70:"
 /augeas/files/etc/sudoers/error/message = "Iterated lens matched less than
 it should"


 }}}

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




More information about the augeas-devel mailing list