diff --git a/macros.systemd b/macros.systemd index 5ffc38a..df7f472 100644 --- a/macros.systemd +++ b/macros.systemd @@ -246,7 +246,7 @@ fi \ %{nil} %tmpfiles_create() \ -[ -z "${TRANSACTIONAL_UPDATE}" -a -x /usr/bin/systemd-tmpfiles ] && \ +[ -x /usr/bin/systemd-tmpfiles ] && \ /usr/bin/systemd-tmpfiles --create %{?*} || : \ %{nil} diff --git a/systemd-rpm-macros.changes b/systemd-rpm-macros.changes index 08eca16..a05a42e 100644 --- a/systemd-rpm-macros.changes +++ b/systemd-rpm-macros.changes @@ -1,9 +1,27 @@ +------------------------------------------------------------------- +Fri Nov 17 09:23:14 UTC 2017 - fbui@suse.com + +- Revert previous changes + + Dirk Mueller please don't accept changes while we're discussing + about them... + + Also added reasons why the previous changes would be needed. + ------------------------------------------------------------------- Fri Nov 17 07:44:55 CET 2017 - kukuk@suse.de - Don't execute systemd-tmpfiles if we run in transactional update mode + If you do transactional updates, it doesn't make any sense to + execute the tmpfiles. They will only create a lot of directories, + files or symlinks in empty directories without any use and later + hidden under the real mount points. With transactional updates, you + should do such things always during the boot phase, as designed by + systemd (and like Fedora and RHEL doing, but in their use case it's + in my opinion a bug). + ------------------------------------------------------------------- Thu Nov 2 16:09:29 UTC 2017 - fbui@suse.com