- Revert previous changes

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=22
This commit is contained in:
Franck Bui 2017-11-17 09:25:35 +00:00 committed by Git OBS Bridge
parent ecab9f8fb5
commit b7d0b19728
2 changed files with 19 additions and 1 deletions

View File

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

View File

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