From 7bd1d09f7fd16d20a041de0eb9af7cc8dbef6a99 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Nov 15 2024 21:05:21 +0000 Subject: Change sysusers u! lines to u because we don't have support in rpm --- diff --git a/systemd.spec b/systemd.spec index 8f83d67..9503f7e 100644 --- a/systemd.spec +++ b/systemd.spec @@ -689,6 +689,10 @@ main systemd package and is meant for use in exitrds. %autosetup -n %{name}-%{version_no_tilde} -p1 %endif +# Disable user lockdown until rpm implements it natively. +# https://github.com/rpm-software-management/rpm/issues/3450 +sed -r -i 's/^u!/u/' sysusers.d/*.conf* + %build %global ntpvendor %(source /etc/os-release; echo ${ID}) %{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1}