-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
rhel-sst-cs-system-management
-
3
-
False
-
-
None
-
None
-
None
-
None
-
Release Note Not Required
-
-
Unspecified
-
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
- external trackers