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

[RFE] ceph use systemd-sysusers

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • ceph
    • sst_rh_samba_storage
    • ssg_rh_storage
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • ---
    • None

      Description of problem:
      ceph is using static useradd scripts

      Version-Release number of selected component (if applicable):
      ceph-16.2.4-5.el9.src.rpm

      How reproducible:
      100%

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

      Actual results:
      %pre common
      CEPH_GROUP_ID=167
      CEPH_USER_ID=167
      %if 0%{?rhel} || 0%{?fedora}
      /usr/sbin/groupadd ceph -g $CEPH_GROUP_ID -o -r 2>/dev/null || :
      /usr/sbin/useradd ceph -u $CEPH_USER_ID -o -r -g ceph -s /sbin/nologin -c "Ceph daemons" -d %{_localstatedir}/lib/ceph 2>/dev/null || :
      %endif

      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

            branto@redhat.com Boris Ranto
            riehecky Pat Riehecky
            Boris Ranto Boris Ranto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: