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

[RFE] bacula use systemd-sysusers

    • rhel-sst-cs-system-management
    • 3
    • False
    • Hide

      None

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

      Description of problem:
      bacula appears to be using static useradd scripts rather than sysusers

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

      How reproducible:100%

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

      Actual results:
      %pre common
      getent group %username >/dev/null || groupadd -g %uid -r %username &>/dev/null || :
      getent passwd %username >/dev/null || useradd -u %uid -r -s /sbin/nologin \
      -d /var/spool/bacula -M -c 'Bacula Backup System' -g %username %username &>/dev/null || :
      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

              rhn-support-pcahyna Pavel Cahyna
              riehecky Pat Riehecky
              Pavel Cahyna Pavel Cahyna
              RHEL SST CS base utils QE Bot RHEL SST CS base utils QE Bot
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: