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

[RFE] sanlock use systemd-sysusers

    • sst_logical_storage
    • ssg_platform_storage
    • None
    • False
    • Hide

      None

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

      Description of problem:
      sanlock has static useradd scripts

      Version-Release number of selected component (if applicable):
      sanlock-3.8.4-1.el9

      How reproducible:
      100%

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

      Actual results:
      getent group sanlock > /dev/null || /usr/sbin/groupadd \
      -g 179 sanlock
      getent passwd sanlock > /dev/null || /usr/sbin/useradd \
      -u 179 -c "sanlock" -s /sbin/nologin -r \
      -g 179 -d /var/run/sanlock sanlock
      /usr/sbin/usermod -a -G disk sanlock

      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

            teigland@redhat.com David Teigland
            riehecky Pat Riehecky
            David Teigland David Teigland
            Cluster QE Cluster QE
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: