diff --git a/systemd.changes b/systemd.changes index 5393e48b..b1d2364e 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 27 10:12:48 UTC 2023 - Franck Bui + +- Make sure to call %sysusers_create only when transfiletrigger is disabled. + ------------------------------------------------------------------- Wed Sep 27 09:52:33 UTC 2023 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 40deaf40..a0b1375f 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1153,8 +1153,10 @@ fi %if %{with coredump} %post coredump +%if %{without filetriggers} %sysusers_create systemd-coredump.conf %endif +%endif %if %{with journal_remote} %pre journal-remote @@ -1164,7 +1166,9 @@ fi %post journal-remote # Assume that all files shipped by systemd-journal-remove are owned by root. +%if %{without filetriggers} %sysusers_create systemd-remote.conf +%endif %systemd_post systemd-journal-gatewayd.service %systemd_post systemd-journal-remote.service %systemd_post systemd-journal-upload.service @@ -1271,7 +1275,9 @@ fi %systemd_pre systemd-oomd.service systemd-oomd.socket %post experimental +%if %{without filetriggers} %sysusers_create systemd-oom.conf +%endif %systemd_post systemd-homed.service %systemd_post systemd-oomd.service systemd-oomd.socket