View Issue Details

IDProjectCategoryView StatusLast Update
0015567CentOS-7augeaspublic2018-12-11 15:17
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0015567: sudo package updated, but sudoers lens for augeas not been updated
DescriptionAs per, the sudoers file has now been updated to:

The always_query_group_plugin option is now set explicitly in the default /etc/sudoers file. Users who upgrade from previous versions and want to retain the old group-querying behavior should ensure that this setting is in place after the upgrade.

however, the latest augeas packages:
- augeas-libs-1.4.0-6.el7.x86_64
- augeas-1.4.0-6.el7.x86_64

don't incorporate this change:

Which is necessary for augeas to be able to modify that file.
Steps To Reproduceaugtool> set /files/etc/sudoers/#includedir /etc/sudoers.d
augtool> save
error: Failed to execute command
saving failed (run 'errors' for details)
augtool> errors
Error in /etc/sysconfig/anaconda:3.0 (parse_failed)
  Syntax error
  Lens: /usr/share/augeas/lenses/dist/shellvars.aug:194.12-.60:

Error in /etc/default/instance_configs.cfg:8.0 (parse_failed)
  Syntax error
  Lens: /usr/share/augeas/lenses/dist/shellvars.aug:194.12-.60:

Error in /etc/sudoers:121.0 (parse_skel_failed)
  Iterated lens matched less than it should
  Lens: /usr/share/augeas/lenses/dist/sudoers.aug:529.10-.70:
    Last matched: /usr/share/augeas/lenses/dist/sep.aug:47.18-.40:
    Next (no match): /usr/share/augeas/lenses/dist/sudoers.aug:411.23-412.57:

Error in /etc/monitrc:117.4 (parse_failed)
  Iterated lens matched less than it should
  Lens: /usr/share/augeas/lenses/dist/monit.aug:65.17-.40:
    Last matched: /usr/share/augeas/lenses/dist/util.aug:134.6-.14:
    Next (no match): /usr/share/augeas/lenses/dist/util.aug:22.27-.34:
Additional Informationif we add that patch referenced by the github commit, then it all works.
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-12-11 15:17 golan New Issue