diff --git a/systemd.changes b/systemd.changes index c0c5f82e..5aa4e43c 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 16 14:38:33 UTC 2023 - Franck Bui + +- Make sure to skip the call to systemd-tmpfile in the file-triggers when + running on transaction systems + ------------------------------------------------------------------- Thu Jun 1 15:58:24 UTC 2023 - Franck Bui diff --git a/triggers.systemd b/triggers.systemd index 1c13a31e..7792e8ac 100644 --- a/triggers.systemd +++ b/triggers.systemd @@ -102,7 +102,9 @@ end -- This script will process files installed in /usr/lib/tmpfiles.d to create -- tmpfiles automatically. The priority is set such that it will run -- after the sysusers file trigger, but before any other triggers. -assert(rpm.execute("systemd-tmpfiles", "--create")) +if os.getenv("TRANSACTIONAL_UPDATE") == nil then + assert(rpm.execute("systemd-tmpfiles", "--create")) +endf %if %{without bootstrap} %transfiletriggerin -P 1000600 -n udev -p -- /usr/lib/udev/rules.d