SHA256
1
0
forked from pool/systemd

- Make sure to call %sysusers_create only when transfiletrigger is disabled.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1449
This commit is contained in:
Franck Bui 2023-09-27 10:15:58 +00:00 committed by Git OBS Bridge
parent 885d7925a8
commit f3560138df
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 27 10:12:48 UTC 2023 - Franck Bui <fbui@suse.com>
- Make sure to call %sysusers_create only when transfiletrigger is disabled.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 27 09:52:33 UTC 2023 - Franck Bui <fbui@suse.com> Wed Sep 27 09:52:33 UTC 2023 - Franck Bui <fbui@suse.com>

View File

@ -1153,8 +1153,10 @@ fi
%if %{with coredump} %if %{with coredump}
%post coredump %post coredump
%if %{without filetriggers}
%sysusers_create systemd-coredump.conf %sysusers_create systemd-coredump.conf
%endif %endif
%endif
%if %{with journal_remote} %if %{with journal_remote}
%pre journal-remote %pre journal-remote
@ -1164,7 +1166,9 @@ fi
%post journal-remote %post journal-remote
# Assume that all files shipped by systemd-journal-remove are owned by root. # Assume that all files shipped by systemd-journal-remove are owned by root.
%if %{without filetriggers}
%sysusers_create systemd-remote.conf %sysusers_create systemd-remote.conf
%endif
%systemd_post systemd-journal-gatewayd.service %systemd_post systemd-journal-gatewayd.service
%systemd_post systemd-journal-remote.service %systemd_post systemd-journal-remote.service
%systemd_post systemd-journal-upload.service %systemd_post systemd-journal-upload.service
@ -1271,7 +1275,9 @@ fi
%systemd_pre systemd-oomd.service systemd-oomd.socket %systemd_pre systemd-oomd.service systemd-oomd.socket
%post experimental %post experimental
%if %{without filetriggers}
%sysusers_create systemd-oom.conf %sysusers_create systemd-oom.conf
%endif
%systemd_post systemd-homed.service %systemd_post systemd-homed.service
%systemd_post systemd-oomd.service systemd-oomd.socket %systemd_post systemd-oomd.service systemd-oomd.socket