SUSE-OU-2020:3835-1: Optional update for systemd-rpm-macros
sle-updates at lists.suse.com
sle-updates at lists.suse.com
Wed Dec 16 07:21:15 MST 2020
SUSE Optional Update: Optional update for systemd-rpm-macros
______________________________________________________________________________
Announcement ID: SUSE-OU-2020:3835-1
Rating: low
References: #1059627 #1178481 #1179020 SLE-8968
Affected Products:
SUSE Linux Enterprise Server 12-SP5
______________________________________________________________________________
An update that has three optional fixes and contains one
feature can now be installed.
Description:
This update for systemd-rpm-macros fixes the following issues:
Many changes have been applied with this update. The ones outlined below
are the most important ones. Please refer to the systemd-rpm-macros.rpm
changelog for a full list of all changes.
- Move macros.systemd from /etc to /usr macros.systemd has never meant to
be modified and treated like a configuration file. Hence let's move it
to /usr and don't tag it with %config. In the very unlikely case it's
been modified, it will be backed up with .rpmsave extension but no more
read by rpmbuild.
- Added missing macro %_userpresetdir Escape "--user" and "--global"
arguments with "\\" since rpm treats arguments starting with "-" as
macro options which causes "Unknown
option" rpm error. Use %{expand:...} to force expansion of the inner
macro. Otherwise %{?*} is recursively defined as "\--user \--global
{%?*}" which causes "Too many levels of recursion in macro expansion"
rpm error.
- Deprecate '-f'/'-n' options When used with %service_del_preun, support
for these options will be dropped as DISABLE_STOP_ON_REMOVAL support
will be removed on the next version of SLE (jsc#SLE-8968) When used with
%service_del_postun, they should be replaced with their counterpart
%service_del_postun_with_restart/%service_del_postun_without_restart
- Backport %service_del_postun_with_restart() It's the counterpart of
%service_del_postun_without_restart() and replaces the '-f' option of
%service_del_postun().
- Backport %systemd_ordering This macro is already available in later
distros and should ease backports of packages, which rely on it.
- Dont apply presets when migrating from a disabled initscript
(bsc#1178481)
Patch Instructions:
To install this SUSE Optional Update use the SUSE recommended installation methods
like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:
- SUSE Linux Enterprise Server 12-SP5:
zypper in -t patch SUSE-SLE-SERVER-12-SP5-2020-3835=1
Package List:
- SUSE Linux Enterprise Server 12-SP5 (noarch):
systemd-rpm-macros-5-10.19.1
References:
https://bugzilla.suse.com/1059627
https://bugzilla.suse.com/1178481
https://bugzilla.suse.com/1179020
More information about the sle-updates
mailing list