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

[RFE] softhsm use systemd-sysusers

    • rhel-sst-idm-ipa
    • ssg_idm
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • 2024-Q2-Alpha-S3
    • None
    • None
    • ---
    • None

      Description of problem:
      softhsm uses static useradd scripts

      Version-Release number of selected component (if applicable):
      softhsm-2.6.1-7.el9.2.

      How reproducible:
      100%

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

      Actual results:
      %pre
      getent group ods >/dev/null || groupadd -r ods
      getent passwd ods >/dev/null || \
      useradd -r -g ods -d %{_sharedstatedir}/softhsm -s /sbin/nologin \
      -c "softhsm private keys owner" ods
      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

              rjeffman@redhat.com Rafael Jeffman
              riehecky Pat Riehecky
              Alexander Bokovoy Alexander Bokovoy
              Kaleemullah Siddiqui Kaleemullah Siddiqui
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: