Description of problem: Augeas can not parse default /etc/logrotate.d/dnf and /etc/logrotate.d/yum Version-Release number of selected component (if applicable): augeas-1.3.0-1.fc22.x86_64 How reproducible: 100% Steps to Reproduce: 1. Install the following packages: dnf-conf-0.6.4-2.fc22.noarch yum-3.4.3-155.fc22.noarch 2. Run command: echo 'print /augeas//error' | augtool # augtool print /augeas//error Actual results: # augtool print /augeas//error ... /augeas/files/etc/logrotate.d/dnf/error = "parse_failed" /augeas/files/etc/logrotate.d/dnf/error/pos = "0" /augeas/files/etc/logrotate.d/dnf/error/line = "1" /augeas/files/etc/logrotate.d/dnf/error/char = "0" /augeas/files/etc/logrotate.d/dnf/error/lens = "/usr/share/augeas/lenses/dist/logrotate.aug:117.13-.56:" /augeas/files/etc/logrotate.d/dnf/error/message = "Iterated lens matched less than it should" /augeas/files/etc/logrotate.d/yum/error = "parse_failed" /augeas/files/etc/logrotate.d/yum/error/pos = "0" /augeas/files/etc/logrotate.d/yum/error/line = "1" /augeas/files/etc/logrotate.d/yum/error/char = "0" /augeas/files/etc/logrotate.d/yum/error/lens = "/usr/share/augeas/lenses/dist/logrotate.aug:117.13-.56:" /augeas/files/etc/logrotate.d/yum/error/message = "Iterated lens matched less than it should" ... Expected results: No errors Additional info: The attachment are file /etc/logrotate.d/dnf and /etc/logrotate.d/yum
Created attachment 1016271 [details] /etc/logrotate.d/dnf
Created attachment 1016272 [details] /etc/logrotate.d/yum
Fixed in 2c1e74d for 1.4.0.
augeas-1.4.0-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/augeas-1.4.0-1.fc22
Package augeas-1.4.0-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing augeas-1.4.0-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-9397/augeas-1.4.0-1.fc22 then log in and leave karma (feedback).
augeas-1.4.0-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.