Revisions of systemd-rpm-macros
Franck Bui (fbui)
accepted
request 876976
from
Antonio Larrosa (alarrosa)
(revision 64)
- Don't pass -f to rm in %service_add_post nor %systemd_user_post
Franck Bui (fbui)
accepted
request 876971
from
Antonio Larrosa (alarrosa)
(revision 63)
- 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).
Franck Bui (fbui)
accepted
request 876963
from
Antonio Larrosa (alarrosa)
(revision 62)
- 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).
Franck Bui (fbui)
committed
(revision 61)
- Bump version to 10
Franck Bui (fbui)
committed
(revision 60)
- 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.
Franck Bui (fbui)
committed
(revision 59)
- 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.
Franck Bui (fbui)
committed
(revision 58)
update comment in changelogs to reflect that systemctl preset does a daemon-reload
Franck Bui (fbui)
committed
(revision 57)
- Bump version to 9
Franck Bui (fbui)
committed
(revision 56)
- 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 but it's done only once by %service_del_postun.
Franck Bui (fbui)
committed
(revision 55)
- 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.
Franck Bui (fbui)
committed
(revision 54)
- %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.
Franck Bui (fbui)
committed
(revision 53)
- Bump version to 8
Franck Bui (fbui)
committed
(revision 52)
- 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
Franck Bui (fbui)
committed
(revision 51)
- Add a missing space in %_restart_on_update()
Franck Bui (fbui)
committed
(revision 50)
- Bump version to 7
Franck Bui (fbui)
committed
(revision 49)
- Dont apply presets when migrating from a disabled initscript (bsc#1178481)
Franck Bui (fbui)
committed
(revision 48)
Fix typo
Franck Bui (fbui)
committed
(revision 47)
- Bump version to 6
Franck Bui (fbui)
committed
(revision 46)
Update one comment
Franck Bui (fbui)
committed
(revision 45)
- Test for the presence of systemd only once in %service_add_post
Displaying revisions 41 - 60 of 104