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

[RFE] pacemaker use systemd-sysusers

    • pacemaker-2.1.7-2.el9
    • sst_high_availability
    • ssg_filesystems_storage_and_HA
    • 17
    • 19
    • 2
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Release Note Not Required
    • None

      Description of problem:
      pacemaker is using static useradd scripts

      Version-Release number of selected component (if applicable):
      pacemaker-2.1.3-2.el9

      How reproducible:
      100%

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

      Actual results:
      %pre -n %

      {pkgname_pcmk_libs}
      1. @TODO Use sysusers.d:
      2. https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format
        getent group % {gname} >/dev/null || groupadd -r %{gname}

        -g %

        {hacluster_id}
        getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u %{hacluster_id}

        -s /sbin/nologin -c "cluster user" %

        {uname}

        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

              rh-ee-jrehova Jana Rehova
              riehecky Pat Riehecky
              Christopher Lumens Christopher Lumens
              Jana Rehova Jana Rehova
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: