Add clock group for systemd

Resolves: RHEL-74548
This commit is contained in:
Martin Osvald 2025-04-07 11:41:43 +02:00
parent 3e94f7b022
commit 69b9c7c415
2 changed files with 25 additions and 0 deletions

22
add-clock-group.patch Normal file
View File

@ -0,0 +1,22 @@
diff --git a/group b/group
index 13a6276..6a25aea 100644
--- a/group
+++ b/group
@@ -21,4 +21,5 @@ ftp::50:
lock::54:
audio::63:
users::100:
+clock::103:
nobody::65534:
diff --git a/uidgid b/uidgid
index c895738..38b4108 100644
--- a/uidgid
+++ b/uidgid
@@ -111,6 +111,7 @@ ident 98 98 / /usr/sbin/nologin ident
# Note: 99 used to be the old uid for nobody, now moved to 65534, do not reuse
users - 100 - - setup
ssh_keys - 101 - - openssh
+clock - 103 - - systemd
input - 104 - - systemd
render - 105 - - systemd
sgx - 106 - - systemd

View File

@ -14,12 +14,15 @@ BuildRequires: bash tcsh perl-interpreter systemd-rpm-macros
#require system release for saner dependency order
Requires: system-release
Patch0: add-clock-group.patch
%description
The setup package contains a set of important system configuration and
setup files, such as passwd, group, and profile.
%prep
%setup -q
%autopatch -p1
./generate-sysusers-fragments.sh
./shadowconvert.sh