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

augeas fails to parse /lib/systemd/system/sssd.service file

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-10.0.beta
    • augeas
    • No
    • Moderate
    • rhel-sst-virtualization
    • ssg_virtualization
    • 7
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • All
    • None

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

      augeas fails to parse /lib/systemd/system/sssd.service file.

      # cat /lib/systemd/system/sssd.service
      [Unit]
      Description=System Security Services Daemon
      # SSSD must be running before we permit user sessions
      Before=systemd-user-sessions.service nss-user-lookup.target
      Wants=nss-user-lookup.target
      StartLimitIntervalSec=50s
      StartLimitBurst=5
      ConditionPathExists=|/etc/sssd/sssd.conf
      ConditionDirectoryNotEmpty=|/etc/sssd/conf.d/
      [Service]
      Environment=DEBUG_LOGGER=--logger=files
      EnvironmentFile=-/etc/sysconfig/sssd
      ExecStartPre=+-/bin/chown -f sssd:sssd /etc/sssd/sssd.conf
      ExecStartPre=+-/bin/chown -f -R sssd:sssd /etc/sssd/conf.d
      ExecStartPre=+-/bin/chown -f -R sssd:sssd /etc/sssd/pki
      ExecStart=/usr/sbin/sssd -i ${DEBUG_LOGGER}
      Type=notify
      NotifyAccess=main
      Restart=on-abnormal
      CapabilityBoundingSet= CAP_CHOWN CAP_DAC_OVERRIDE CAP_SETGID CAP_SETUID CAP_DAC_READ_SEARCH 
      SecureBits=noroot noroot-locked
      User=sssd
      Group=sssd
      # If service configured to be run under "root", uncomment "SupplementaryGroups"
      #SupplementaryGroups=sssd
      [Install]
      WantedBy=multi-user.target
      
      

      Please provide the package NVR for which bug is seen:

      augeas-1.14.1-1.el10.x86_64

      sssd-common-2.10.0~beta2-1.el10.x86_64

      How reproducible:

      100%

      Steps to reproduce

      1. on rhel10.0 Beta host

      # augtool print /augeas//error | grep sssd.service
      /augeas/files/etc/systemd/system/multi-user.target.wants/sssd.service/error = "parse_failed"
      /augeas/files/etc/systemd/system/multi-user.target.wants/sssd.service/error/pos = "413"
      /augeas/files/etc/systemd/system/multi-user.target.wants/sssd.service/error/line = "14"
      /augeas/files/etc/systemd/system/multi-user.target.wants/sssd.service/error/char = "0"
      /augeas/files/etc/systemd/system/multi-user.target.wants/sssd.service/error/lens = "/usr/share/augeas/lenses/dist/inifile.aug:497.25-.43:"
      /augeas/files/etc/systemd/system/multi-user.target.wants/sssd.service/error/message = "Get did not match entire input"
      /augeas/files/lib/systemd/system/sssd.service/error = "parse_failed"
      /augeas/files/lib/systemd/system/sssd.service/error/pos = "413"
      /augeas/files/lib/systemd/system/sssd.service/error/line = "14"
      /augeas/files/lib/systemd/system/sssd.service/error/char = "0"
      /augeas/files/lib/systemd/system/sssd.service/error/lens = "/usr/share/augeas/lenses/dist/inifile.aug:497.25-.43:"
      /augeas/files/lib/systemd/system/sssd.service/error/message = "Get did not match entire input"

      Expected results

      augeas can parse sssd.service file.

              rh-ee-ctupangi Cosmin Tupangiu
              yoguo@redhat.com Yongkui Guo
              virt-maint virt-maint
              Xiang Hua Chen Xiang Hua Chen
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: