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

[RFE] mariadb use systemd-sysusers

    • rhel-sst-cs-databases
    • None
    • False
    • Hide

      None

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

      Description of problem:
      mariadb is using static useradd scripts

      Version-Release number of selected component (if applicable):
      mariadb-10.5.16-1.el9

      How reproducible:
      100%

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

      Actual results:
      %pre server
      /usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
      /usr/sbin/useradd -M -N -g mysql -o -r -d %

      {mysqluserhome}

      -s /sbin/nologin \
      -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :

      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

              mschorm@redhat.com Michal Schorm
              riehecky Pat Riehecky
              Michal Schorm Michal Schorm
              Jakub Heger Jakub Heger
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: