View Issue Details

IDProjectCategoryView StatusLast Update
0015567CentOS-7augeaspublic2018-12-11 15:17
Reportergolan 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0015567: sudo package updated, but sudoers lens for augeas not been updated
DescriptionAs per https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/7.6_release_notes/index, 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: https://github.com/hercules-team/augeas/commit/a543189524d97d980d0724529173a71ee510b1b0

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:
augtool>
Additional Informationif we add that patch referenced by the github commit, then it all works.
TagsNo tags attached.
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

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