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

augeas fails to parse /etc/rsyslog.d/opal-prd.conf on ppc64le env

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • rhel-9.2.0
    • augeas
    • None
    • Moderate
    • rhel-sst-virtualization
    • ssg_virtualization
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      augeas fails to parse /etc/rsyslog.d/opal-prd.conf on ppc64le env(the opal-prd package is installed by default).

      $ augtool print /augeas//error | grep opal-prd
      /augeas/files/etc/rsyslog.d/opal-prd.conf/error = "parse_failed"
      /augeas/files/etc/rsyslog.d/opal-prd.conf/error/pos = "0"
      /augeas/files/etc/rsyslog.d/opal-prd.conf/error/line = "1"
      /augeas/files/etc/rsyslog.d/opal-prd.conf/error/char = "0"
      /augeas/files/etc/rsyslog.d/opal-prd.conf/error/lens = "/usr/share/augeas/lenses/dist/rsyslog.aug:92.10-.43:"
      /augeas/files/etc/rsyslog.d/opal-prd.conf/error/message = "Get did not match entire input"

      $ cat /etc/rsyslog.d/opal-prd.conf
      if $programname == 'opal-prd' then /var/log/opal-prd.log
      if $programname == 'opal-prd' and $syslogseverity <= 4 then /var/log/messages
      if $programname == 'opal-prd' then stop

      Version-Release number of selected component (if applicable):
      augeas-1.13.0-3.el9.ppc64le

      How reproducible:
      100%

      Steps:

      On RHEL9.2 ppc64le host (ibm-p9z-06-lp9.khw3.lab.eng.bos.redhat.com):
      1.
      2.

      Actual results:
      As above

      Expected results:
      augeas can parse the /etc/rsyslog.d/opal-prd.conf file successfully.

      Additional info:
      1. This issue can also be seen on RHEL8.8 ppc64le env.
      2. No this issue on other arches.

              virt-maint virt-maint
              yoguo@redhat.com Yongkui Guo
              virt-maint virt-maint
              Yongkui Guo Yongkui Guo
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: