Hide Forgot
RHEL7.2 https://bugzilla.redhat.com/1325741 RHEL6.7 augeas-1.0.0-10.el6.x86_64 The only differences for RHEL6 from the RHEL7 behavior mentioned previously is version of the RPM is augeas-1.0.0-10.el6.x86_64, and that you need to 'print /augeas//error' instead of using the 'errors' alias, like so: # cat >/var/tmp/fails.aug <<EOM set /files/etc/cgconfig.conf/group[ .= 'new_group' ] 'new_group' set /files/etc/cgconfig.conf/group[ .= 'new_group' ]/perm/task/uid 'root' set /files/etc/cgconfig.conf/group[ .= 'new_group' ]/perm/task/gid 'root' set /files/etc/cgconfig.conf/group[ .= 'new_group' ]/perm/task/fperm '777' save print /augeas//error EOM # augtool -f /var/tmp/fails.aug -e augtool> set /files/etc/cgconfig.conf/group[ .= 'new_group' ] 'new_group' augtool> set /files/etc/cgconfig.conf/group[ .= 'new_group' ]/perm/task/uid 'root' augtool> set /files/etc/cgconfig.conf/group[ .= 'new_group' ]/perm/task/gid 'root' augtool> set /files/etc/cgconfig.conf/group[ .= 'new_group' ]/perm/task/fperm '777' augtool> save error: Failed to execute command saving failed (run 'print /augeas//error' for details) augtool> print /augeas//error /augeas/files/etc/cgconfig.conf/error = "put_failed" /augeas/files/etc/cgconfig.conf/error/path = "/files/etc/cgconfig.conf/group/perm/task" /augeas/files/etc/cgconfig.conf/error/lens = "/usr/share/augeas/lenses/dist/cgconfig.aug:50.7-.49:" /augeas/files/etc/cgconfig.conf/error/message = "Failed to match \n ({ /uid|gid/ = /[^\\001-\\004\\t\\n #;{}]+/ } | { /#comment/ = /[^\\001-\\004\\t\\n\\r ][^\\001-\\004\\n]*[^\\001-\\004\\t\\n\\r ]|[^\\001-\\004\\t\\n\\r ]/ } | { })*\n with tree\n { \"uid\" = \"root\" } { \"gid\" = \"root\" } { \"fperm\" = \"777\" }"
Red Hat Enterprise Linux 6 transitioned to the Production 3 Phase on May 10, 2017. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available. The official life cycle policy can be reviewed here: http://redhat.com/rhel/lifecycle This issue does not appear to meet the inclusion criteria for the Production Phase 3 and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: https://access.redhat.com