From db5aaafc0e1d2b9bf2afadc5f69e4b07285bc9e6bf7f50687b8523344ce44807 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Thu, 24 Feb 2022 13:44:24 +0000 Subject: [PATCH] - Fix a regression caused by the split of the sysusers config files shipped by systemd (bsc#1196322) Calls to %sysusers_create were not updated accordingly. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1257 --- systemd.changes | 8 ++++++++ systemd.spec | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/systemd.changes b/systemd.changes index ebf015fd..eb4b4324 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 24 13:23:35 UTC 2022 - Franck Bui + +- Fix a regression caused by the split of the sysusers config files shipped by + systemd (bsc#1196322) + + Calls to %sysusers_create were not updated accordingly. + ------------------------------------------------------------------- Wed Feb 23 17:46:12 UTC 2022 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 9c35df6d..31ea93ca 100644 --- a/systemd.spec +++ b/systemd.spec @@ -949,7 +949,9 @@ pam-config --add --systemd || : # systemd-sysusers is not available in %pre so this needs to be done # in %%post. However this shouldn't be an issue since all files the # main package ships are owned by root. -%sysusers_create systemd.conf +%sysusers_create systemd-journal.conf +%sysusers_create systemd-network.conf +%sysusers_create systemd-timesync.conf [ -e %{_localstatedir}/lib/random-seed ] && mv %{_localstatedir}/lib/random-seed %{_localstatedir}/lib/systemd/ || : /usr/lib/systemd/systemd-random-seed save || : @@ -1169,6 +1171,7 @@ fi %endif %if %{with resolved} %ldconfig +%sysusers_create systemd-resolve.conf %service_add_post systemd-resolved.service %endif