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

[RFE] httpd use systemd-sysusers

    • httpd-2.4.59-5.el9
    • rhel-sst-cs-infra-services
    • ssg_core_services
    • 25
    • None
    • False
    • Hide

      None

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

      Description of problem:
      httpd is using static useradd scripts

      Version-Release number of selected component (if applicable):
      httpd-2.4.53-2.el9

      How reproducible:
      100%

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

      Actual results:
      %pre filesystem
      getent group apache >/dev/null || groupadd -g 48 -r apache
      getent passwd apache >/dev/null || \
      useradd -r -u 48 -g apache -s /sbin/nologin \
      -d %

      {contentdir}

      -c "Apache" apache
      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

              luhliari@redhat.com Lubos Uhliarik
              riehecky Pat Riehecky
              Lubos Uhliarik Lubos Uhliarik
              Iveta Cesalova Iveta Cesalova
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: