Bug 1660884
| Summary: | augeas lens fails to parse rsyslog.conf when using ampersand selector | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Pino Toscano <ptoscano> | ||||
| Component: | augeas | Assignee: | Pino Toscano <ptoscano> | ||||
| Status: | CLOSED ERRATA | QA Contact: | YongkuiGuo <yoguo> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 8.0 | CC: | knoel, ptoscano, rjones, virt-bugs, xchen, yoguo | ||||
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
||||
| Target Release: | 8.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | augeas-1.12.0-4.el8 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 1350218 | Environment: | |||||
| Last Closed: | 2020-04-28 16:49:27 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Pino Toscano
2018-12-19 14:06:00 UTC
Created attachment 1634002 [details]
rsyslog file
Fixed upstream with commit 5181105bae84dc7819a00886f068ad0bb4e6d05a. Verified with package: augeas-1.12.0-4.el8.x86_64 Steps: 1. /etc/rsyslog.conf file with ampersand selector # vi /etc/rsyslog.conf ... # Save boot messages also to boot.log local7.* /var/log/boot.log local3.err /var/log/nfsen/nfsenlog & /var/log/also.log 2. # augtool print /files/etc/rsyslog.conf ... /files/etc/rsyslog.conf/entry[8] /files/etc/rsyslog.conf/entry[8]/selector /files/etc/rsyslog.conf/entry[8]/selector/facility = "local3" /files/etc/rsyslog.conf/entry[8]/selector/level = "err" /files/etc/rsyslog.conf/entry[8]/action[1] /files/etc/rsyslog.conf/entry[8]/action[1]/file = "/var/log/nfsen/nfsenlog" /files/etc/rsyslog.conf/entry[8]/action[2] /files/etc/rsyslog.conf/entry[8]/action[2]/file = "/var/log/also.log" ... The ampersand selector can be parsed in /etc/rsyslog.conf file. Verified it. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1824 |