Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-144649

augeas fails to parse rsyslog.conf [rhel-10.2]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-10.2
    • augeas
    • None
    • None
    • Moderate
    • 1
    • rhel-virt-tools
    • None
    • QE ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Virt-tools in planning
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      libguestfs fails to parse rsyslog.conf

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      augeas-1.14.2-0.10.20260120gitf4135e3.el10.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. mkdir etc
      2. echo "*.info;mail.none;authpriv.none;cron.none action(type="omfile" file="/var/log/messages")"  >  etc/rsyslog.conf
      3. augtool -r $PWD 
        augtool> ls /
        augeas/ = (none)
        files/ = (none)
        augtool> ls /augeas/files/etc/rsyslog.conf/error/
        pos = 0
        line = 1
        char = 0
        lens = /usr/share/augeas/lenses/dist/rsyslog.aug:92.10-.43:
        message = Get did not match entire input
        augtool> get /augeas/files/etc/rsyslog.conf/error/message
        /augeas/files/etc/rsyslog.conf/error/message = Get did not match entire input augtool> get /augeas/files/etc/rsyslog.conf/error/line
        /augeas/files/etc/rsyslog.conf/error/line = 1
        augtool> get /augeas/files/etc/rsyslog.conf/error/pos
        /augeas/files/etc/rsyslog.conf/error/pos = 0
      4.  

      Expected results

      It can parse rsyslog.conf successfully.

      Actual results

              virt-maint virt-maint
              xchen@redhat.com Xiang Hua Chen
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: