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

[RFE] lldpd use systemd-sysusers

    • lldpd-1.0.18-4.el9
    • None
    • rhel-sst-networking-core
    • ssg_networking
    • 22
    • 23
    • 3
    • False
    • Hide

      None

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

      Description of problem:
      lldpd is using static user scripts

      Version-Release number of selected component (if applicable):
      lldpd-1.0.4-10.el9

      How reproducible:
      100%

      Steps to Reproduce:
      1.review %pre
      2.
      3.

      Actual results:
      %pre
      getent group %

      {name} >/dev/null || groupadd -r %{name}

      getent passwd %

      {name} >/dev/null || \
      useradd -r -g %{name}

      -d %{_sharedstatedir}/%

      {name} -s /sbin/nologin \
      -c "Used by the %{name}

      daemon" %

      {name}

      exit 0

      Expected results:
      use of system-sysusers

      Additional info:
      https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
      https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format

              haliu@redhat.com Hangbin Liu
              riehecky Pat Riehecky
              Aaron Conole Aaron Conole
              Matt Lucius Matt Lucius
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: