-
Story
-
Resolution: Done-Errata
-
Major
-
None
-
pacemaker-2.1.7-2.el9
-
rhel-sst-high-availability
-
ssg_filesystems_storage_and_HA
-
17
-
19
-
2
-
Dev ack
-
False
-
-
None
-
None
-
Pass
-
None
-
Release Note Not Required
-
-
All
-
None
Description of problem:
pacemaker is using static useradd scripts
Version-Release number of selected component (if applicable):
pacemaker-2.1.3-2.el9
How reproducible:
100%
Steps to Reproduce:
1.review %pre
2.
3.
Actual results:
%pre -n %
- @TODO Use sysusers.d:
- https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format
getent group % {gname} >/dev/null || groupadd -r %{gname}-g %
{hacluster_id}
getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u %{hacluster_id}-s /sbin/nologin -c "cluster user" %
{uname}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
- is blocked by
-
RHEL-17225 Rebase pacemaker on upstream 2.1.7 release
- Closed
- external trackers
- links to
-
RHBA-2023:125612 pacemaker update