- 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
This commit is contained in:
Franck Bui 2022-02-24 13:44:24 +00:00 committed by Git OBS Bridge
parent 39726d4947
commit db5aaafc0e
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 24 13:23:35 UTC 2022 - Franck Bui <fbui@suse.com>
- 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 <fbui@suse.com>

View File

@ -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