Changelog for
systemd-rpm-macros-24-1.205.noarch.rpm :
* Tue Jun 20 2023 fbuiAATTsuse.com- Bump to version 24
* Tue Jun 20 2023 fbuiAATTsuse.com- Drop %tmpfiles_create_package It can\'t work during transactional updates because the paths that systemd-tmpfiles usually operates on (such as /var) can\'t be changed. It appears that the only user of this macro doesn\'t really need this macro so let\'s drop it.
* Tue Jun 20 2023 fbuiAATTsuse.com- Drop %sysusers_create_inline It\'s deprecated and the only user of this macro is being converted to %sysusers_create_package. So drop it now before the deprecated macro attracts more users.
* Tue Jun 20 2023 fbuiAATTsuse.com- Unlike systemd-tmpfiles call in %tmpfiles_create_package(), systemd-sysusers must always be called by %sysusers_create_package() even on transactional systems since it\'s part of the macro contract. Writing to /etc is not recommended on such systems but it has to work anyways.
* Fri Jun 16 2023 fbuiAATTsuse.com- Bump to version 23
* Fri Jun 16 2023 fbuiAATTsuse.com- Restore the check that prevents systemd-tmpfiles to run during transactional updates The check has been mistakenly dropped during the switch to file-triggers.
* Mon May 15 2023 fbuiAATTsuse.com- Bump to version 22
* Wed May 10 2023 fbuiAATTsuse.com- Make sure that (future) users of %sysctl_apply() and %binfmt_apply() will call the macros with arguments.
* Wed May 10 2023 fbuiAATTsuse.com- Test the presence of /run/systemd/system to check whether we\'re operating during transactional updates. Hence the behavior is the same when operating in a chroot or during transactional updates.- Leave %sysctl_apply() and %binfmt_apply() empty (bsc#1211272) Only the former has very few users currently and none of them has specific code relying on the new sysctl values to be effective between the macros and the file triggers.
* Tue May 09 2023 fbuiAATTsuse.com- Bump to version 21
* Tue May 09 2023 fbuiAATTsuse.com- Rely on \'systemd-update-helper\' shell script to implement %service_
* macros The helper was introduced by upstream commit 6d825ab2d42d3219e49a1. The main advantage is that we no more need to rebuild all packages to update the macro definitions. Internally the script relies on file triggers for \'daemon-reload\' operations and for restarting units (when needed).- Update other macros to reflect the fact that systemd package provides file triggers for sysusers, tmpfiles, hwdb, and journal catalog.
* Wed Mar 29 2023 fbuiAATTsuse.com- Bump to version 20
* Wed Mar 29 2023 fbuiAATTsuse.com- %service_del_postun: make sure to restart services if /etc/sysconfig/service is not present.
* Wed Mar 29 2023 fbuiAATTsuse.com- Drop support for -n/-f options in %service_del_postun These options have been deprecated since a long time and the last package relying on them (drkonqi5) in the Factory repository has been updated.
* Thu Jan 26 2023 fbuiAATTsuse.com- Bump to version 19
* Thu Jan 26 2023 fbuiAATTsuse.com- `udevadm hwdb` is deprecated, use `systemd-hwdb` instead.
* Wed Nov 23 2022 fbuiAATTsuse.com- Bump to version 18
* Wed Nov 23 2022 dcermakAATTsuse.com- Add %_user_tmpfilesdir macro
* Mon Oct 03 2022 fbuiAATTsuse.com- Bump to version 17
* Mon Oct 03 2022 fbuiAATTsuse.com- Fix syntax error in %tmpfiles_create_package() (bsc#1203945)
* Thu Feb 17 2022 fbuiAATTsuse.com- Bump to version 16
* Thu Feb 17 2022 fbuiAATTsuse.com- Drop enablement symlink migration support of SysV init scripts This was announced here: https://lists.opensuse.org/archives/list/factoryAATTlists.opensuse.org/thread/3ERUP5ZZJ6PPA36L3HVN46BH6U6JL74O/
* Wed Jan 19 2022 fbuiAATTsuse.com- Bump to version 15
* Tue Jan 18 2022 fbuiAATTsuse.com- %sysusers_create_inline was wrongly marked as deprecated- %sysusers_create can be useful in certain cases and won\'t go away until we\'ll move to file triggers. So don\'t mark it as deprecated too
* Wed Nov 17 2021 fbuiAATTsuse.com- Bump version to 14
* Wed Nov 17 2021 fbuiAATTsuse.com- Introduce %_systemd_util_dir It\'s a backport of upstream commit 3bc66bfa0136e370a8f7b06c3b69a52f5636ef82.
* Wed Sep 29 2021 dimstarAATTopensuse.org- Use %{load:} instead of %{?load:}: fix build with RPM 4.17.
* Wed Jun 30 2021 fbuiAATTsuse.com- Bump to version 13
* Wed Jun 30 2021 fbuiAATTsuse.com- Make use of \"Suggests:\" in %systemd_ordering Until libzypp supports \"OrderWithRequires:\", we need to specify a similar ordering constraint that can be understood by the dep solver as well. Hence the use of \"Suggests:\" in %systemd_ordering (workaround for bsc#1187332).
* Thu May 20 2021 fbuiAATTsuse.com- Bump to version 12
* Thu May 20 2021 fbuiAATTsuse.com- Introduce %sysusers_create_package %sysusers_create and %sysusers_create_inline are now deprecated and the new macro should be used instead. Upstream commit 07a7d4a0040d221ff09e527e91c112b4ffab1dba.- Introduce %tmpfiles_create_package %%tmpfiles_create is now deprecreated and the new macros should be used instead. Upstream commit 0f78fee8d039000b987848a558fbaa15d916e14e.
* Thu May 20 2021 fbuiAATTsuse.com- %sysusers_create_inline: use here-docs instead of echo (bsc#1186282) Upstream commit dd2490ae12ad1e1795ecbf8f8944b950da9c8d06.
* Fri Mar 05 2021 fbuiAATTsuse.com- Bump to version 11
* Fri Mar 05 2021 alarrosaAATTsuse.com- Don\'t pass -f to rm in %service_add_post nor %systemd_user_post
* Fri Mar 05 2021 alarrosaAATTsuse.com- Add a %systemd_user_pre macro that creates a /run/systemd/rpm/needs-user-preset/$service file for each new service being installed so %systemd_user_post can call `systemctl --global preset $service` properly for newly installed user services (boo#1183051, boo#1183012).
* Thu Mar 04 2021 alarrosaAATTsuse.com- Fix %systemd_user_post. The --global parameter was handled as if it was another service name so %systemd_user_post wasn\'t working properly. Replace %systemd_user_post with the code from %service_add_post it was being expanded to but correctly passing - -global to systemctl (boo#1183051, boo#1182661).
* Fri Feb 12 2021 fbuiAATTsuse.com- Bump version to 10
* Fri Feb 12 2021 fbuiAATTsuse.com- Make upstream %systemd_{pre,post,preun,postun} aliases to their SUSE counterparts Packagers can now choose to use the upstream or the SUSE variants indifferently. For consistency the SUSE variants should be preferred since almost all SUSE packages already use them but the upstream versions might be usefull in certain cases where packages need to support multiple distros based on RPM.
* Fri Feb 12 2021 fbuiAATTsuse.com- Improve the logic used to apply the presets (bsc#1177039) Before presests were applied at a) package installation b) new units introduced via a package update (but after making sure that it was not a SysV initscript being converted). The problem is that a) didn\'t handle package a renaming or split properly since the package with the new name is installed rather being updated and therefore the presets were applied even if they were already with the old name. We now cover this case (and the other ones) by applying presets only if the units are new and the services are not being migrated. This regardless of whether this happens during an install or an update.
* Mon Nov 23 2020 fbuiAATTsuse.com- Bump version to 9
* Mon Nov 23 2020 fbuiAATTsuse.com- daemon-reload is not needed in %service_add_post Applying presets, ie enabling/disabling units, doesn\'t require to update units loaded in PID1 memory. It\'s actually needed after and it\'s done implicitly by `systemctl preset`.
* Fri Nov 20 2020 fbuiAATTsuse.com- Rename the tag file used to detect when presets need to be applied Rather than placing these tags directly under /run, let\'s place them under /run/systemd/rpm. This also has the benefit to make the workaround for bsc#1059627 no more needed.
* Thu Nov 19 2020 fbuiAATTsuse.com- %service_del_preun doesn\'t accept -f/-n options anymore The few package calling %service_del_preun with \'-f\' or \'-n\' option have been fixed. These options are not needed anymore.
* Tue Nov 10 2020 fbuiAATTsuse.com- Bump version to 8
* Tue Nov 10 2020 fbuiAATTsuse.com- Introduce %service_del_postun_with_restart() It\'s the counterpart of %service_del_postun_without_restart() and replaces the \'-f\' option of %service_del_postun().- Expand %service_del_postun_without_restart in %service_del_postun
* Tue Nov 10 2020 fbuiAATTsuse.com- Add a missing space in %_restart_on_update()
* Mon Nov 09 2020 fbuiAATTsuse.com- Bump version to 7
* Mon Nov 09 2020 fbuiAATTsuse.com- Dont apply presets when migrating from a disabled initscript (bsc#1178481)
* Mon Nov 09 2020 fbuiAATTsuse.com- Bump version to 6
* Mon Nov 09 2020 fbuiAATTsuse.com- Test for the presence of systemd only once in %service_add_post
* Mon Nov 09 2020 fbuiAATTsuse.com- No need to run \'systemd-sysv-convert --save\' in %service_add_pre anymore Due to the fact that the initscripts being removed during package updates are still available in %post, systemd-sysv-convert has been reworked so it\'s only needed to call it in %post.
* Mon Nov 09 2020 fbuiAATTsuse.com- Make rpmbuild load our own macros.systemd to import %{%_unitdir} properly Ideally we should also own other %{_
*dir} paths...- Stop owning /usr/lib/systemd directory as no package other than systemd is supposed to put files there.
* Mon Nov 02 2020 fbuiAATTsuse.com- DISABLE_RESTART_ON_UDPATE is no more read from the (build) environment %service_del_postun_without_restart is the interface that should be used by packages that need to prevent theirs services from being restarted.
* Fri Oct 30 2020 fbuiAATTsuse.com- Bump version to 5
* Fri Oct 30 2020 fbuiAATTsuse.com- Drop DISABLE_STOP_ON_REMOVAL support (jsc#SLE-8968) %service_del_preun still accepts \'-n\' and \'-f\' options to keep backward compatibility with SLE (as some packages share the same devel project between SLE and openSUSE) but these options are now ignored on Factory.
* Fri Sep 25 2020 fbuiAATTsuse.com- Bump version to 4.1
* Tue Aug 25 2020 ngompa13AATTgmail.com- Sync missing macros of directory paths from upstream systemd macros + %_environmentdir + %_modulesloaddir + %_modprobedir
* Tue Mar 12 2019 fbuiAATTsuse.com- $1 can never be empty or it\'s an rpm bug
* Tue Mar 12 2019 fbuiAATTsuse.com- Get rid of $FIRST_ARG $FIRST_ARG was probably introduced because the %service_
* macros were playing tricks on the shell positional parameters. This is bad practice and error prone so let\'s assume that no macros should do that anymore and hence it\'s safe to assume that positional parameters remains unchanged after any rpm macro call. All users of $FIRST_ARG should have been fixed by now and in most cases the use of the variable was unneeded (since the macros don\'t change the shell parameters) and thus confusing. \'net-snmp\' has a different use of FIRST_ARG though as it tried to fake an update during a package installation. Fortunately this could have been fixed too.
* Fri Mar 01 2019 fbuiAATTsuse.com- Fix %_restart_on_update_force: drop one extra trailing \'}\' Thanks Werner for spotting.
* Wed Feb 27 2019 fbuiAATTsuse.com- Simplify %_restart_on_update and %_stop_on_removal There\'s no need to spawn sub shells when these macros are used.
* Wed Feb 27 2019 fbuiAATTsuse.com- Macros arguments are mandatory Especially in %_restart_on_update_never and %_stop_on_removal_never, let\'s assume that they always receive unit names as arguments. This allows to make them slightly simpler (less rpm macro black magic). Callers will fail earlier if no arguments are passed anyway.
* Wed Feb 27 2019 fbuiAATTsuse.com- Make sure %_restart_on_update_never and %_stop_on_removal_never don\'t expand to the empty string Otherwise sequences like the following would result in incorrect shell syntax: if [ ]; then %_restart_on_update_never fi
* Wed Feb 27 2019 fbuiAATTsuse.com- Restore one daemon-reload command It was erroneously removed during the drop of $YAST_IS_RUNNING.
* Mon Feb 25 2019 fbuiAATTsuse.com- Bump version to 4
* Fri Feb 22 2019 fbuiAATTsuse.com- Introduce %service_del_postun_without_restart This is another step to make the SUSE rpm macros closer to their upstream counterparts. Introduce %service_del_postun_without_restart which should help in getting rid of \'-f\' and \'-n\' switches of %service_del_postun.
* Thu Feb 21 2019 fbuiAATTsuse.com- Drop $YAST_IS_RUNNING in favor of $SYSTEMD_OFFLINE (bsc#1117489) libzypp now kindly defines SYSTEMD_OFFLINE when appropriate (see bsc#1118758). Therefore we don\'t need to rely on YAST_IS_RUNNING anymore. It\'s a tiny step to make the SUSE macros closer to their upstream counterparts.
* Fri Nov 23 2018 fbuiAATTsuse.com- systemd-sysv-convert has been moved from /usr/sbin to /usr/lib/systemd
* Tue May 22 2018 fbuiAATTsuse.com- remove confusing --user before --global Backport from https://github.com/systemd/systemd/commit/28d36da64a7a23a55e8d0a139f2620384fd058b3. This was spotted in bsc#1090785.
* Wed Feb 14 2018 fbuiAATTsuse.com- Fix %systemd_post(): it\'s never called during package removal Also make it useful by restoring its original implementation.
* Mon Feb 12 2018 fbuiAATTsuse.com- Import more definitions from upstream (v237)
* Mon Jan 22 2018 dimstarAATTopensuse.org- Fix system_user_post macro for usage with RPM 4.14, backport from https://github.com/systemd/systemd/commit/e67ba783.
* Thu Dec 14 2017 fbuiAATTsuse.com- Move macros.systemd in /usr/lib/rpm The file is not supposed to be customized by the user.
* Wed Dec 13 2017 fbuiAATTsuse.com- Make %systemd_add_pre() more similar to %systemd_add_post() The main advantage is that we pass only one argument to systemd-sysv-convert script. The later can now be improved/rewritten to handle only one argument and return a useful exit status.
* Wed Dec 13 2017 fbuiAATTsuse.com- Make sure to apply presets if packages start shipping units during upgrades (bsc#1071543) If a package started shipping units during upgrade only sysv migration was done. However if the package didn\'t ship any sysv scripts before no presets were applied. Now during upgrades, preset are always applied (still only during the first time the units are installed) then followed by the sysv migration machinery. The downside of this is that migrated services can have symlinks in both runlevel.target.wants/ (created by the sysv migration) and in the directory specified by the [Install] sections (created by \"systemctl preset\")... The whole thing should be rewritten.
* Fri Dec 01 2017 fbuiAATTsuse.com- Make sure to clean up \"new-in-upgrade\" tag file (bsc#1059627) The tag file might have been incorrectly left by a preceding update.
* Wed Nov 22 2017 fbuiAATTsuse.com- Restore previous changes
* Fri Nov 17 2017 fbuiAATTsuse.com- Revert previous changes Also added reasons why the previous changes would be needed.
* Fri Nov 17 2017 kukukAATTsuse.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 02 2017 fbuiAATTsuse.com- Remove a useless test in %service_add_pre() The test was placed where the condition \'[ \"$FIRST_ARG\" -gt 1 ]\' was always true.
* Fri Jun 02 2017 dimstarAATTopensuse.org- BuildIgnore systemd-rpm-macros: a small cycle that can be avoided. system-rpm-macros is being pulled in by rpm-build as conveniance to the packagers.
* Fri Jun 02 2017 fbuiAATTsuse.com- Reference bsc#956849 to please the new OBS \'sanity\' check (bsc#1041386) %tmpfiles_create is already part of the version shipped by Factory so there\'s nothing to do here execpt mentioning (bsc#956849).
* Fri Mar 10 2017 fbuiAATTsuse.com- Kill preset macros The last users have been fixed so these macros are no more used by any package. The introduction of them was a bad idea and only the branding preset package is still using a similar mechanism but at least it\'s now self contained in this package. Also the package calls now a shell script instead of rpm macros. Upstream is working on making this completely obsolete so the preset branding package could be cleaned up for good.
* Wed Jan 11 2017 jengelhAATTinai.de- RPM group fix
* Fri Jun 03 2016 Thomas.BlumeAATTsuse.com- %service_add_post() suppress daemon-reload when in installation system (bsc#982343)
* Thu Mar 03 2016 wernerAATTsuse.de- Allow the packagers to specify the options -f and -n on the macros %service_del_preun(), %service_del_postun(), %systemd_post(), and %systemd_preun() (boo#968405)
* Sat Feb 27 2016 dimstarAATTopensuse.org- Also honor DISABLE_STOP_ON_REMOVAL and DISABLE_RESTART_ON_UPDATE when specified by a package directly in the .spec file. Some package know that a restart of their service is fatal (boo#968405).
* Fri Nov 20 2015 wernerAATTsuse.de- Support of DISABLE_STOP_ON_REMOVAL and DISABLE_RESTART_ON_UPDATE from /etc/sysconfig/service (bsc#955996)
* Fri Sep 18 2015 sbrabecAATTsuse.com- Skip %systemd_preset_
* during the clean installation to prevent presetting of all services (boo#946216).
* Tue Aug 04 2015 sbrabecAATTsuse.com- Add %systemd_preset_pre and %systemd_preset_posttrans that will do one shot presetting of all services with changed system preset. It makes possible to to fix bad default service state (bnc#900935#c46, FATE#318949, FATE#317727, bnc#921075).- Increment version to 3.
* Mon Jun 15 2015 jengelhAATTinai.de- Check for presence/executability of systemd programs before executing them, and do not suppress warnings/errors resulting from them.
* Fri Jan 09 2015 jengelhAATTinai.de- Update with new macros from systemd 218- Remove empty sections from specfile
* Tue Nov 18 2014 wernerAATTsuse.de- Mark /etc/rpm/macros.systemd as configuration file
* Tue Nov 18 2014 wernerAATTsuse.de- Apply then delete patch systemd-daemon-reload-before-service-restart.patch- Add orignal systemd macros as well (boo#807164)
* Wed Oct 15 2014 thomas.blumeAATTsuse.com- make systemd aware of changed unit file content after update add systemd-daemon-reload-before-service-restart.patch
* Thu Mar 27 2014 wernerAATTsuse.de- Add a %_ntpunitsdir macro
* Thu Mar 27 2014 fcrozatAATTsuse.com- Add support to not restart services if running in YaST2 or if DISABLE_RESTART_ON_UPDATE is set to yes [bnc#858429]
* Fri Feb 28 2014 wernerAATTsuse.de- Require coreutils as rm and touch are used
* Fri Feb 07 2014 wernerAATTsuse.de- Make systemd rpm macros package a separate to avoid rebuild of the full package tree if systemd package change
* Thu Jul 04 2013 fcrozatAATTsuse.com- Resync with systemd v205 macros
* Mon Jun 17 2013 mhruseckyAATTsuse.com- New package with systemd rpm macros to avoid unnecessary build time dependencies