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

[Image Mode] Bacula must use systemd-sysusers and systemd-tmpfiles

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • bacula-11.0.1-6.el9
    • None
    • Important
    • 2
    • rhel-base-utils-core
    • ssg_core_services
    • 26
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • BaseUtilsC Sprint CY25_00, BaseUtilsC Sprint CY25_01
    • Release Note Not Required
    • None
    • 57,005

      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 systemd-sysusers

      Additional info:
      https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
      https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format

              rskvaril@redhat.com Radka Brychtova
              riehecky Pat Riehecky
              Lukáš Zaoral Lukáš Zaoral
              Radka Brychtova Radka Brychtova
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: