See https://github.com/openSUSE/systemd/blob/SUSE/v254/NEWS for details.
This includes the following bug fixes:
- upstream commit 331aa7aa15ee5dd12b369b276f575d521435eb52 (bsc#1203141)
- upstream commit 529ba8a1a3968564b67049a077f213e3a0d53070 (bsc#1209340)
- upstream commit f1f331a252d22c15f37d03524cce967664358c5c (bsc#1186606)
- upstream commit df1dccd25547b430258bd42ec60428fc9aff1370 (bsc#1213185)
* Drop 5001-Revert-core-propagate-stop-too-if-restart-is-issued.patch. A fix
for https://github.com/systemd/systemd/issues/26839 has been integrated in
v254.
* Drop 5002-Revert-core-service-when-resetting-PID-also-reset-kn.patch, it's
part of v254.
* Drop 0001-restore-var-run-and-var-lock-bind-mount-if-they-aren.patch, it's
no more needed these days.
* Rebase 0001-conf-parser-introduce-early-drop-ins.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1420
- Drop 0003-strip-the-domain-part-from-etc-hostname-when-setting.patch
/etc/hostname is supposed to contain the static host name of the system. This
patch was used to work around cases where users incorrectly save the FQDN
instead. However this is incorrect and not consistent with what
systemd-hostnamed does and what other distributions do. Also assuming that
/etc/hostname will contain the system host name only removes any ambiguities
since the host name can contain a period.
/etc/hosts is usually where one sets the domain name by aliasing the host name
to the FQDN.
Note that the installer used to save the FQDN in /etc/hostname but this has
been fixed since several years now (bsc#972463).
- systemd-homed is no more considered as experimental
It's been moved to its own dedicated sub-package "systemd-homed".
- systemd-userdb is no more considered as experimental (jsc#PED-2668)
As such it's been moved to the main package.
- upstream commit 3a3b022d2cc112803ea7b9beea98bbcad110368a (bsc#1212434 bsc#1213575)
OBS-URL: https://build.opensuse.org/request/show/1101213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=398
/etc/hostname is supposed to contain the static host name of the system. This
patch was used to work around cases where users incorrectly save the FQDN
instead. However this is incorrect and not consistent with what
systemd-hostnamed does and what other distributions do. Also assuming that
/etc/hostname will contain the system host name only removes any ambiguities
since the host name can contain a period.
/etc/hosts is usually where one sets the domain name by aliasing the host name
to the FQDN.
Note that the installer used to save the FQDN in /etc/hostname but this has
been fixed since several years now (bsc#972463).
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1416
- Change the group owner of /run/lock from "lock" to "root" (bsc#1212674)
This allows to drop the dependency "Requires: group(lock)" that was introduced
previously to make sure that the "lock" group will be kept around. This
dependency introduced a dependency cycle.
- file-triggers: fix a typo that sneaked in the script dealing with tmpfiles
(bsc#1212733)
- Make sure to keep the groups systemd and udev rely on installed. Theoretically
with only "Requires(pre): group(x)", rpm is allowed to drop group 'x' at the
end of the package installations.
Note: this is also needed when (trans)file-triggers are enabled due to the
OBS-URL: https://build.opensuse.org/request/show/1095850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=395
- Make sure to pre-install the groups systemd and udev rely on. This is needed
when the tmpfiles are run at package installation time. Theoretically with
only "Requires(pre): group()", rpm is allowed to drop the group at the end of
the package installations hence let's keep "Requires: group()" dep.
Note: this is also needed when (post)file-triggers are enabled due to the
current limitation of the default libzypp transaction backend.
- file-triggers: fix lua trigger priority for sysusers (bsc#1212376)
A single digit in the priority used for sysusers got dropped somehow and
upstream commit cd621954ed643c6ee0d869132293e26056a48826 forgot to restore it
in the lua implementation.
- file-triggers: skip the call to systemd-tmpfiles in chroot too. That way we
ensure that packages that really need the tmpfiles in advance use the right
API which is %tmpfiles_create_package.
- file-triggers: to be consistent with what we already does with tmpfiles, we
skip the call to systemd-sysusers and delay system user creations until the
next reboot.
- Temporarily add
5002-Revert-core-service-when-resetting-PID-also-reset-kn.patch until it's
backported to the next stable release
See https://github.com/systemd/systemd/pull/28000
- file-triggers: make sure to skip the call to systemd-tmpfile in the
file-triggers when running on transaction systems (bsc#1212449)
systemd-tmpfiles usually modifies paths that are not supposed to change during
transactional updates (e.g. /var, /run). On transaction systems changes will
happen on the next reboot.
OBS-URL: https://build.opensuse.org/request/show/1094372
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=394
only "Requires(pre): group()", rpm is allowed to drop the group at the end of
the package installations hence let's keep "Requires: group()" dep.
Note: this is also needed when (post)file-triggers are enabled due to the
current limitation of the default libzypp transaction backend.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1402
ensure that packages that really need the tmpfiles in advance to use the right
API which is %tmpfiles_create_package.
- file-triggers: to be consistent with what we already does with tmpfiles, we
skip the call to systemd-sysusers and delay system user creations until the
next reboot.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1397
- Import commit 07bb12a282b0ea378850934c4a76008b448b8bad (merge of v253.5)
For a complete list of changes, visit:
25aec15788...07bb12a282
- Reexecute user managers on package updates.
For now we send signal to user instances to trigger their reexecution. It's
asynchronous but it shouldn't cause any problem in practice and it's probably
safer than triggering reexecution with "systemctl --user -M 1000@
daemon-reexec" command. The latter command creates a new PAM session behind
the scene bringing with it the known issue (upstream issue #8598) with
"(sd-pam)" helper process when the PAM session is being closed.
OBS-URL: https://build.opensuse.org/request/show/1090446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=392
For now we send signal to user instances to trigger their reexecution. It's
asynchronous but it shouldn't cause any problem in practice and it's probably
safer than triggering reexecution with "systemctl --user -M 1000@
daemon-reexec" command. The latter command creates a new PAM session behind
the scene bringing with it the known issue (upstream issue #8598) with
"(sd-pam)" helper process when the PAM session is being closed.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1393
- Move more packaging fixups in the fixlet script.
- Provide (Lua-based) file triggers and adapt systemd.spec accordingly (boo#1133764)
More specifically, file triggers handle automatically installations or updates
of files for sysusers, tmpfiles, hwdb, journal catalog, udev rules, sysctl and
binfmt.
Therefore it makes a bunch of systemd rpm macros (such as %udev_hwdb_update,
%udev_rules_update, %journal_catalog_update, %tmpfiles_create,
%sysusers_create and so on) not needed anymore. However before considering
simplifying your spec files beware that these changes are not available in SLE
yet and will probably never reach the current releases (latest one being
SLE15-SP5 as of this writing).
Macros dealing with unit restart/enabling (such as %systemd_pre,
%service_add_pre, %service_del_postun, ...) are still needed though. However
reloading of systemd instances (and thus restarting of units) are delayed
until the very end of the package install/update transaction and is now done
only once.
Nevertheless to fully take advantage of file triggers, users have to activate
a specific zypper transaction backend which is still considered as
experimental, see bsc#1041742 for details.
- Provide a (slighlty) customized version of systemd-update-helper. Some of the
systemd rpm macros rely now on the helper and delegate their work to it. Hence
we don't need to rebuild all packages anymore when the content of the rpm
macros must be updated/fixed.
- Drop an old fix for the persistent net rules (only needed on SLE). Factory
(fortunately) dropped the persistent net rule generator long time ago.
OBS-URL: https://build.opensuse.org/request/show/1088562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=391
More specifically, file triggers handle automatically installations or updates
of files for sysusers, tmpfiles, hwdb, journal catalog, udev rules, sysctl and
binfmt.
Therefore it makes a bunch of systemd rpm macros (such as %udev_hwdb_update,
%udev_rules_update, %journal_catalog_update, %tmpfiles_create,
%sysusers_create and so on) not needed anymore. However before considering
simplifying your spec files beware that these changes are not available in SLE
yet and will probably never reach the current releases (latest one being
SLE15-SP5 as of this writing).
Macros dealing with unit restart/enabling (such as %systemd_pre,
%service_add_pre, %service_del_postun, ...) are still needed though. However
reloading of systemd instances (and thus restarting of units) are delayed
until the very end of the package install/update transaction and is now done
only once.
Nevertheless to fully take advantage of file triggers, users have to activate
a specific zypper transaction backend which is still considered as
experimental, see bsc#1041742 for details.
- Provide a (slighlty) customized version of systemd-update-helper. Some of the
systemd rpm macros rely now on the helper and delegate their work to it. Hence
we don't need to rebuild all packages anymore when the content of the rpm
macros must be updated/fixed.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1390
- Rather than having one script per fix, use a single script (or "fixlet") per
(sub) package that contains all the fixups relative to a (sub) package. This
has the advantage to limit the number of scripts but more importantly it will
ease the sharing of the spec file between TW and SLE. We should also be able
to compare the fixlets of two distros even if the spec files have diverged.
Note that all the fixups are run just once now.
- Make use of %_systemd_util_dir in the spec file.
- Rename the SUSE specific scripts used to fix up the system where systemd is
installed on. Also rename the directory where these scripts are stored.
- kbd-model-map.legacy: drop entry for 'ruwin_alt-UTF-8' as yast doesn't rely on
it anymore, see https://github.com/yast/yast-country/pull/307
- Import commit 25aec157888f7aa9a36726962fcbbf2c74ead440 (merge of v253.4)
For a complete list of changes, visit:
3ce9610975...25aec15788
- Import commit 3ce9610975b5239a21c0c886cb893bb172966de7
3ce9610975 test: dont use anchor char '$' to match a part of a string
03ede3eaa2 locale: when no xvariant match select the entry with an empty xvariant
f08017efd5 locale: convert generated vconsole keymap to x11 layout automatically
e8cf56459b localed-util: make use of strdupcspn()
821c684440 test: use kbd-mode-map we ship in TEST-73-LOCALE
OBS-URL: https://build.opensuse.org/request/show/1085215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=390