2023-01-26 14:12:56 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Jan 26 14:12:28 UTC 2023 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump to version 19
|
|
|
|
|
2023-01-26 14:11:52 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Jan 26 14:11:14 UTC 2023 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- `udevadm hwdb` is deprecated, use `systemd-hwdb` instead.
|
|
|
|
|
2022-11-23 17:14:27 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Nov 23 17:14:04 UTC 2022 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump to version 18
|
|
|
|
|
2022-11-23 17:12:56 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Nov 23 16:52:56 UTC 2022 - Dan Čermák <dcermak@suse.com>
|
|
|
|
|
|
|
|
- Add %_user_tmpfilesdir macro
|
|
|
|
|
2022-10-03 13:08:03 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Oct 3 13:07:42 UTC 2022 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump to version 17
|
|
|
|
|
2022-10-03 13:00:50 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Oct 3 12:57:32 UTC 2022 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Fix syntax error in %tmpfiles_create_package() (bsc#1203945)
|
|
|
|
|
2022-02-17 18:53:38 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Feb 17 18:54:40 UTC 2022 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump to version 16
|
|
|
|
|
2022-02-17 18:53:00 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Feb 17 18:46:25 UTC 2022 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Drop enablement symlink migration support of SysV init scripts
|
|
|
|
|
|
|
|
This was announced here:
|
|
|
|
https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/3ERUP5ZZJ6PPA36L3HVN46BH6U6JL74O/
|
|
|
|
|
2022-01-19 08:27:38 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Jan 19 08:28:16 UTC 2022 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump to version 15
|
|
|
|
|
2022-01-18 21:06:57 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Jan 18 07:57:14 UTC 2022 - Franck Bui <fbui@suse.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
|
|
|
|
|
2021-11-17 12:31:01 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Nov 17 12:28:16 UTC 2021 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump version to 14
|
|
|
|
|
2021-11-17 12:27:43 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Nov 17 12:25:15 UTC 2021 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Introduce %_systemd_util_dir
|
|
|
|
|
|
|
|
It's a backport of upstream commit 3bc66bfa0136e370a8f7b06c3b69a52f5636ef82.
|
|
|
|
|
2021-09-29 13:21:24 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Sep 29 11:27:11 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
|
|
|
|
|
|
|
- Use %{load:} instead of %{?load:}: fix build with RPM 4.17.
|
|
|
|
|
2021-06-30 09:59:52 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Jun 30 09:59:31 UTC 2021 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump to version 13
|
|
|
|
|
2021-06-30 09:59:17 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Jun 30 09:52:48 UTC 2021 - Franck Bui <fbui@suse.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).
|
|
|
|
|
2021-05-20 10:18:45 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu May 20 10:18:23 UTC 2021 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump to version 12
|
|
|
|
|
2021-05-20 10:17:34 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu May 20 09:54:00 UTC 2021 - Franck Bui <fbui@suse.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.
|
|
|
|
|
2021-05-20 09:47:35 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu May 20 09:45:11 UTC 2021 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- %sysusers_create_inline: use here-docs instead of echo (bsc#1186282)
|
|
|
|
|
|
|
|
Upstream commit dd2490ae12ad1e1795ecbf8f8944b950da9c8d06.
|
|
|
|
|
2021-03-05 15:09:00 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Mar 5 12:27:14 UTC 2021 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump to version 11
|
|
|
|
|
2021-03-05 11:19:59 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Mar 5 11:10:16 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
|
|
|
|
|
|
|
- Don't pass -f to rm in %service_add_post nor %systemd_user_post
|
|
|
|
|
2021-03-05 11:09:08 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Mar 5 11:03:49 UTC 2021 - Antonio Larrosa <alarrosa@suse.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).
|
|
|
|
|
2021-03-05 10:58:52 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Mar 4 13:11:15 UTC 2021 - Antonio Larrosa <alarrosa@suse.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).
|
|
|
|
|
2021-02-12 11:46:53 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Feb 12 11:46:17 UTC 2021 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump version to 10
|
|
|
|
|
2021-02-12 11:45:54 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Feb 12 11:02:57 UTC 2021 - Franck Bui <fbui@suse.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.
|
|
|
|
|
2021-02-12 11:01:43 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Feb 12 10:23:35 UTC 2021 - Franck Bui <fbui@suse.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.
|
|
|
|
|
2020-11-23 20:33:49 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Nov 23 20:33:21 UTC 2020 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump version to 9
|
|
|
|
|
2020-11-23 20:19:37 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Nov 23 16:48:05 UTC 2020 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- daemon-reload is not needed in %service_add_post
|
|
|
|
|
|
|
|
Applying presets, ie enabling/disabling units, doesn't require to
|
2020-11-24 11:02:18 +00:00
|
|
|
update units loaded in PID1 memory. It's actually needed after and
|
|
|
|
it's done implicitly by `systemctl preset`.
|
2020-11-23 20:19:37 +00:00
|
|
|
|
2020-11-23 18:03:40 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Nov 20 06:34:57 UTC 2020 - Franck Bui <fbui@suse.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.
|
|
|
|
|
2020-11-23 17:29:55 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Nov 19 15:53:43 UTC 2020 - Franck Bui <fbui@suse.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.
|
|
|
|
|
2020-11-10 11:22:09 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Nov 10 11:21:44 UTC 2020 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump version to 8
|
|
|
|
|
2020-11-10 11:04:59 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Nov 10 09:32:31 UTC 2020 - Franck Bui <fbui@suse.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
|
|
|
|
|
2020-11-10 09:13:24 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Nov 10 09:13:03 UTC 2020 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Add a missing space in %_restart_on_update()
|
|
|
|
|
2020-11-09 11:40:24 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Nov 9 11:38:23 UTC 2020 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump version to 7
|
|
|
|
|
2020-11-09 11:38:05 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Nov 9 11:36:56 UTC 2020 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Dont apply presets when migrating from a disabled initscript (bsc#1178481)
|
|
|
|
|
2020-11-09 08:48:05 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Nov 9 08:47:04 UTC 2020 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump version to 6
|
|
|
|
|
2020-11-09 08:43:46 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Nov 9 07:58:01 UTC 2020 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Test for the presence of systemd only once in %service_add_post
|
|
|
|
|
2020-11-09 07:15:43 +00:00
|
|
|
-------------------------------------------------------------------
|
2020-11-09 07:45:47 +00:00
|
|
|
Mon Nov 9 07:44:40 UTC 2020 - Franck Bui <fbui@suse.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.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
2020-11-09 07:15:43 +00:00
|
|
|
Mon Nov 9 07:35:12 UTC 2020 - Franck Bui <fbui@suse.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.
|
|
|
|
|
2020-11-02 14:40:43 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Nov 2 14:36:43 UTC 2020 - Franck Bui <fbui@suse.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.
|
|
|
|
|
2020-11-09 07:15:43 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Oct 30 17:39:01 UTC 2020 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump version to 5
|
|
|
|
|
2020-10-30 17:40:53 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Oct 30 17:37:54 UTC 2020 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Drop DISABLE_STOP_ON_REMOVAL support (jsc#SLE-8968)
|
|
|
|
|
2020-11-02 08:55:25 +00:00
|
|
|
%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.
|
|
|
|
|
2020-09-25 09:26:01 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Sep 25 09:25:44 UTC 2020 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump version to 4.1
|
|
|
|
|
2020-08-25 06:25:03 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Aug 25 00:48:04 UTC 2020 - Neal Gompa <ngompa13@gmail.com>
|
|
|
|
|
|
|
|
- Sync missing macros of directory paths from upstream systemd macros
|
|
|
|
+ %_environmentdir
|
|
|
|
+ %_modulesloaddir
|
|
|
|
+ %_modprobedir
|
|
|
|
|
2019-03-12 08:20:41 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Mar 12 08:17:25 UTC 2019 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- $1 can never be empty or it's an rpm bug
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Mar 12 08:03:45 UTC 2019 - Franck Bui <fbui@suse.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.
|
|
|
|
|
2019-03-01 09:27:15 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Mar 1 08:18:07 UTC 2019 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Fix %_restart_on_update_force: drop one extra trailing '}'
|
|
|
|
|
|
|
|
Thanks Werner for spotting.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Feb 27 17:43:13 UTC 2019 - Franck Bui <fbui@suse.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 16:57:04 UTC 2019 - Franck Bui <fbui@suse.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.
|
|
|
|
|
2019-02-27 14:16:36 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Feb 27 14:13:28 UTC 2019 - Franck Bui <fbui@suse.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
|
|
|
|
|
2019-02-27 12:21:44 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Feb 27 12:17:18 UTC 2019 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Restore one daemon-reload command
|
|
|
|
|
|
|
|
It was erroneously removed during the drop of $YAST_IS_RUNNING.
|
|
|
|
|
2019-02-25 09:56:11 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Feb 25 09:55:28 UTC 2019 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- Bump version to 4
|
|
|
|
|
2019-02-25 09:47:37 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Feb 22 13:00:18 UTC 2019 - Franck Bui <fbui@suse.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.
|
|
|
|
|
2018-11-26 13:56:33 +00:00
|
|
|
-------------------------------------------------------------------
|
2019-02-21 18:00:10 +00:00
|
|
|
Thu Feb 21 17:53:18 UTC 2019 - Franck Bui <fbui@suse.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.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
2018-11-26 13:56:33 +00:00
|
|
|
Fri Nov 23 12:08:30 UTC 2018 - Franck Bui <fbui@suse.com>
|
|
|
|
|
|
|
|
- systemd-sysv-convert has been moved from /usr/sbin to /usr/lib/systemd
|
|
|
|
|
2018-05-22 12:56:47 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue May 22 12:54:45 UTC 2018 - fbui@suse.com
|
|
|
|
|
|
|
|
- remove confusing --user before --global
|
|
|
|
|
|
|
|
Backport from
|
|
|
|
https://github.com/systemd/systemd/commit/28d36da64a7a23a55e8d0a139f2620384fd058b3.
|
|
|
|
|
|
|
|
This was spotted in bsc#1090785.
|
|
|
|
|
2018-02-14 14:07:02 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Feb 14 14:04:19 UTC 2018 - fbui@suse.com
|
|
|
|
|
|
|
|
- Fix %systemd_post(): it's never called during package removal
|
|
|
|
|
|
|
|
Also make it useful by restoring its original implementation.
|
|
|
|
|
2018-02-12 16:58:33 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Feb 12 16:56:37 UTC 2018 - fbui@suse.com
|
|
|
|
|
|
|
|
- Import more definitions from upstream (v237)
|
|
|
|
|
2018-01-22 14:11:14 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Jan 22 11:33:28 UTC 2018 - dimstar@opensuse.org
|
|
|
|
|
|
|
|
- Fix system_user_post macro for usage with RPM 4.14, backport from
|
|
|
|
https://github.com/systemd/systemd/commit/e67ba783.
|
|
|
|
|
2017-12-15 09:52:31 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Dec 14 08:39:15 UTC 2017 - fbui@suse.com
|
|
|
|
|
|
|
|
- Move macros.systemd in /usr/lib/rpm
|
|
|
|
|
|
|
|
The file is not supposed to be customized by the user.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Dec 13 17:14:25 UTC 2017 - fbui@suse.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 16:42:56 UTC 2017 - fbui@suse.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.
|
|
|
|
|
2017-12-01 10:51:04 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Dec 1 10:47:29 UTC 2017 - fbui@suse.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.
|
|
|
|
|
2017-11-22 14:47:28 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Nov 22 14:41:00 UTC 2017 - fbui@suse.com
|
|
|
|
|
|
|
|
- Restore previous changes
|
|
|
|
|
2017-11-17 09:25:35 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Nov 17 09:23:14 UTC 2017 - fbui@suse.com
|
|
|
|
|
|
|
|
- Revert previous changes
|
|
|
|
|
|
|
|
Also added reasons why the previous changes would be needed.
|
|
|
|
|
2017-11-17 09:10:26 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Nov 17 07:44:55 CET 2017 - kukuk@suse.de
|
|
|
|
|
|
|
|
- Don't execute systemd-tmpfiles if we run in transactional update
|
|
|
|
mode
|
|
|
|
|
2017-11-17 09:25:35 +00:00
|
|
|
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).
|
|
|
|
|
2017-11-02 16:12:23 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Nov 2 16:09:29 UTC 2017 - fbui@suse.com
|
|
|
|
|
|
|
|
- Remove a useless test in %service_add_pre()
|
|
|
|
|
|
|
|
The test was placed where the condition '[ "$FIRST_ARG" -gt 1 ]' was
|
|
|
|
always true.
|
|
|
|
|
2017-06-06 08:26:34 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Jun 2 09:59:37 UTC 2017 - dimstar@opensuse.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.
|
|
|
|
|
2017-06-02 09:37:54 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Jun 2 09:31:50 UTC 2017 - fbui@suse.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).
|
|
|
|
|
2017-03-14 14:17:09 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Mar 10 11:54:11 UTC 2017 - fbui@suse.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.
|
|
|
|
|
2017-01-11 16:20:27 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Jan 11 11:16:11 UTC 2017 - jengelh@inai.de
|
|
|
|
|
|
|
|
- RPM group fix
|
|
|
|
|
2016-06-07 08:03:30 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Jun 3 14:47:01 UTC 2016 - Thomas.Blume@suse.com
|
|
|
|
|
|
|
|
- %service_add_post() suppress daemon-reload when in installation
|
|
|
|
system (bsc#982343)
|
|
|
|
|
2016-03-03 10:09:49 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Mar 3 10:01:52 UTC 2016 - werner@suse.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)
|
|
|
|
|
2015-11-20 16:54:39 +00:00
|
|
|
-------------------------------------------------------------------
|
2016-02-29 07:00:30 +00:00
|
|
|
Sat Feb 27 10:18:55 UTC 2016 - dimstar@opensuse.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).
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
2015-11-20 16:54:39 +00:00
|
|
|
Fri Nov 20 16:53:23 UTC 2015 - werner@suse.de
|
|
|
|
|
|
|
|
- Support of DISABLE_STOP_ON_REMOVAL and DISABLE_RESTART_ON_UPDATE
|
|
|
|
from /etc/sysconfig/service (bsc#955996)
|
|
|
|
|
2015-09-19 05:53:33 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Sep 18 15:27:04 CEST 2015 - sbrabec@suse.com
|
|
|
|
|
|
|
|
- Skip %systemd_preset_* during the clean installation to prevent
|
|
|
|
presetting of all services (boo#946216).
|
|
|
|
|
2015-08-05 15:23:06 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Aug 4 17:59:54 CEST 2015 - sbrabec@suse.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.
|
|
|
|
|
2015-07-10 08:14:04 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Jun 15 11:33:28 UTC 2015 - jengelh@inai.de
|
|
|
|
|
|
|
|
- Check for presence/executability of systemd programs before
|
|
|
|
executing them, and do not suppress warnings/errors resulting
|
|
|
|
from them.
|
|
|
|
|
2015-01-12 09:12:57 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Jan 9 13:38:16 UTC 2015 - jengelh@inai.de
|
|
|
|
|
|
|
|
- Update with new macros from systemd 218
|
|
|
|
- Remove empty sections from specfile
|
|
|
|
|
2014-11-18 15:16:57 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Nov 18 15:16:13 UTC 2014 - werner@suse.de
|
|
|
|
|
|
|
|
- Mark /etc/rpm/macros.systemd as configuration file
|
|
|
|
|
2014-11-18 13:57:10 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Nov 18 13:30:37 UTC 2014 - werner@suse.de
|
|
|
|
|
|
|
|
- Apply then delete patch systemd-daemon-reload-before-service-restart.patch
|
|
|
|
- Add orignal systemd macros as well (boo#807164)
|
|
|
|
|
2014-10-16 14:07:21 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Oct 15 09:28:36 UTC 2014 - thomas.blume@suse.com
|
|
|
|
|
|
|
|
- make systemd aware of changed unit file content after update
|
|
|
|
add systemd-daemon-reload-before-service-restart.patch
|
|
|
|
|
2014-03-27 14:45:24 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Mar 27 14:44:53 UTC 2014 - werner@suse.de
|
|
|
|
|
|
|
|
- Add a %_ntpunitsdir macro
|
|
|
|
|
2014-03-27 12:38:37 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Mar 27 12:22:11 UTC 2014 - fcrozat@suse.com
|
|
|
|
|
|
|
|
- Add support to not restart services if running in YaST2 or
|
|
|
|
if DISABLE_RESTART_ON_UPDATE is set to yes [bnc#858429]
|
|
|
|
|
2014-02-28 10:10:57 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Feb 28 10:10:24 UTC 2014 - werner@suse.de
|
|
|
|
|
|
|
|
- Require coreutils as rm and touch are used
|
|
|
|
|
2014-02-11 09:46:34 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Feb 7 12:43:13 UTC 2014 - werner@suse.de
|
|
|
|
|
|
|
|
- Make systemd rpm macros package a separate to avoid rebuild of
|
|
|
|
the full package tree if systemd package change
|
|
|
|
|
2013-09-20 08:12:39 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Jul 4 13:59:43 CEST 2013 - fcrozat@suse.com
|
|
|
|
|
|
|
|
- Resync with systemd v205 macros
|
|
|
|
|
2013-06-20 13:51:16 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Jun 17 10:49:50 UTC 2013 - mhrusecky@suse.com
|
|
|
|
|
|
|
|
- New package with systemd rpm macros to avoid unnecessary build time
|
|
|
|
dependencies
|
|
|
|
|