-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
rhel-9.2.0
-
None
-
Moderate
-
rhel-sst-virtualization
-
ssg_virtualization
-
5
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
x86_64
-
None
Description of problem:
augeas fails to parse /etc/rsyslog.d/21-cloudinit.conf file after the cloud-init package is installed.
$ cat /etc/rsyslog.d/21-cloudinit.conf
- Log cloudinit generated log messages to file
:syslogtag, isequal, "[CLOUDINIT]" /var/log/cloud-init.log
- comment out the following line to allow CLOUDINIT messages through.
- Doing so means you'll also get CLOUDINIT messages in /var/log/syslog
& stop
Version-Release number of selected component (if applicable):
augeas-1.13.0-3.el9.x86_64
cloud-init-22.1-6.el9.noarch
kernel-5.14.0-217.el9.x86_64
How reproducible:
100%
Steps:
1. On rhel9.2 host (make sure the cloud-init package is installed)
$ augtool print /files/etc/rsyslog.d/21-cloudinit.conf
No output
2.
$ augtool print /augeas//error | grep 21-cloudinit.conf
/augeas/files/etc/rsyslog.d/21-cloudinit.conf/error = "parse_failed"
/augeas/files/etc/rsyslog.d/21-cloudinit.conf/error/pos = "248"
/augeas/files/etc/rsyslog.d/21-cloudinit.conf/error/line = "6"
/augeas/files/etc/rsyslog.d/21-cloudinit.conf/error/char = "0"
/augeas/files/etc/rsyslog.d/21-cloudinit.conf/error/lens = "/usr/share/augeas/lenses/dist/rsyslog.aug:92.10-.43:"
/augeas/files/etc/rsyslog.d/21-cloudinit.conf/error/message = "Get did not match entire input"
Actual results:
As above
Expected results:
augeas can parse /etc/rsyslog.d/21-cloudinit.conf file.
Additional info: