- 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
(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.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1386
- Revert changes that dropped calls to %systemd_{pre,post} in the main package
Until we switch to filetriggers these calls are needed when a new version of
systemd introduced a new config file during an update.
- We also introduce a new build conditional "%filetriggers" to identify easily
which parts of the code will become obsolete when we'll switch to file
triggers (WIP). This is important as this is unlikely to happen on SLE.
OBS-URL: https://build.opensuse.org/request/show/1084033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=389
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
- Mapping for converted keymaps is not needed anymore since their conversion to
their x11 layout counterpart is now done automatically by localed (commit
f08017efd5).
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1382
Until we switch to filetriggers these calls are needed when a new version of
systemd introduced a new config file during an update.
- We also introduce a new build conditional "%filetriggers" to identify easily
which parts of the code will become obsolete when we'll switch to file
triggers (WIP). This is important as this is unlikely to happen on SLE.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1378
- Re-add back 'arabic' keymap mapping as YaST needs more time than expected to
cope with this change.
- systemd.spec: don't call %systemd_{pre,post} on units shipped by the main
package since they don't have any effect during installation (systemctl is not
yet installed when %pre script is executed). This is actually the reason why
it's handled by the %%posttrans scripts of systemd-presets-common-SUSE.
- kbd-model-map.legacy: 'arabic' vc keymap has been renamed 'ara' (bsc#1210702)
- add some green to systemd-boot menu
- kbd-model-map.legacy: drop some entries no longer needed
by YaST (related to bsc#1194609)
- tmpfiles-suse.conf (jsc#PED-3144):
- Remove lastlog entry, replaced by lastlog2
- Remove btmp entry, not Y2038 safe
OBS-URL: https://build.opensuse.org/request/show/1083513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=388
package since they don't have any effect during installation (systemctl is not
yet installed when %pre script is executed). This is actually the reason why
it's handled by the %%posttrans scripts of systemd-presets-common-SUSE.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1376
- Import commit 03cfbe767327d01d5a71131d91bf06fdc0047ca1
03cfbe7673 test: use setpriv instead of su for user switch from root
857843834c test: wrap mkfs.*/mksquashfs/mkswap binaries when running w/ ASan
be7388f8c5 test: do not remove state directory on failure
1b2885bd16 test: fix regexp in testsuite-74.mount.sh
41142f8013 test: drop extraneous bracket in testsuite-74.mount.sh
- systemd.spec: add files.coredump
- Import commit b63f58661b08037d8cb04ed97b5e39d9bf415fdc (merge of v253.2)
For a complete list of changes, visit:
8b01686dd2...b63f58661b
- Move systemd-fsck stuff to udev sub-package.
- Include pam_keyinit.so in our systemd-user PAM service (bsc#1209741)
That way "systemd --user" instances get their own session keyring instead of
the user default session keyring. For some reasons cifscreds refuses to work
with the latter. That's what is expected for every PAM session anyway.
- Import commit 8b01686dd20124efc300d21ef38d85c1f75c372f
8b01686dd2 test: don't export $TOOLS_DIR
7a56b1b2f0 test: clean up $STATEDIR too
324bb19eb8 test: $STATEDIR should not point to /usr/lib/systemd/tests when NO_BUILD=1
2251735482 test: install symlinks with valid targets on SUSE and Debian
c30905a269 test: on openSUSE install the collection of unit test binaries in the target only for TEST-02-UNITTESTS
797ced15d8 meson: make sure the unit test scripts find testdata/ even if they are not installed in the same directory
04dc5b44b7 meson: define testdata_dir globally
69643c6c96 test: install unit tests in a dedicated subdirectory below '$testsdir'
OBS-URL: https://build.opensuse.org/request/show/1076955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=386
03cfbe7673 test: use setpriv instead of su for user switch from root
857843834c test: wrap mkfs.*/mksquashfs/mkswap binaries when running w/ ASan
be7388f8c5 test: do not remove state directory on failure
1b2885bd16 test: fix regexp in testsuite-74.mount.sh
41142f8013 test: drop extraneous bracket in testsuite-74.mount.sh
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1368
That way "systemd --user" instances get their own session keyring instead of
the user default session keyring. For some reasons cifscreds refuses to work
with the latter. That's what is expected for every PAM session anyway.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1365
8b01686dd2 test: don't export $TOOLS_DIR
7a56b1b2f0 test: clean up $STATEDIR too
324bb19eb8 test: $STATEDIR should not point to /usr/lib/systemd/tests when NO_BUILD=1
2251735482 test: install symlinks with valid targets on SUSE and Debian
c30905a269 test: on openSUSE install the collection of unit test binaries in the target only for TEST-02-UNITTESTS
797ced15d8 meson: make sure the unit test scripts find testdata/ even if they are not installed in the same directory
04dc5b44b7 meson: define testdata_dir globally
69643c6c96 test: install unit tests in a dedicated subdirectory below '$testsdir'
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1364
- Import commit d914e29c33c0248226a01112a3e03181ef17b06b
d914e29c33 Revert "hwdb: fix swapped buttons for Logitech Lift left" (bsc#1209618)
8360811d23 udev-rules: fix nvme symlink creation on namespace changes (bsc#1207410)
b77c13a130 systemctl: explicitly cast the constants to uint64_t (bsc#1209305)
51011f280d test: assume run-unit-tests.py and unit tests are installed in the same directory
d86e346f6b tests: don't use absolute paths when installing binaries in TEST-58-REPART
97e886c1f4 tests: fix inverted condition in testsuite-58.sh
- Drop 5002-systemctl-explicitly-cast-the-constants-to-uint64_t.patch, it's been
merged in 'SUSE/v253', see above.
- Add python3-pefile as requires for experimental, needed for the
ukify tool.
OBS-URL: https://build.opensuse.org/request/show/1073914
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=385
d914e29c33 Revert "hwdb: fix swapped buttons for Logitech Lift left" (bsc#1209618)
8360811d23 udev-rules: fix nvme symlink creation on namespace changes (bsc#1207410)
b77c13a130 systemctl: explicitly cast the constants to uint64_t (bsc#1209305)
51011f280d test: assume run-unit-tests.py and unit tests are installed in the same directory
d86e346f6b tests: don't use absolute paths when installing binaries in TEST-58-REPART
97e886c1f4 tests: fix inverted condition in testsuite-58.sh
- Drop 5002-systemctl-explicitly-cast-the-constants-to-uint64_t.patch, it's been
merged in 'SUSE/v253', see above.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1363
- Add 5002-systemctl-explicitly-cast-the-constants-to-uint64_t.patch (bsc#1209305)
Added temporarily until it's merged in either the stable v253 branch or in the
SUSE git repo.
- Add 5001-Revert-core-propagate-stop-too-if-restart-is-issued.patch until
https://github.com/systemd/systemd/issues/26839 is fixed properly.
- testsuite: mtools is required by TEST-58-REPART
- testsuite: swtpm and tpm2.0-tools are needed by TEST-70-TPM2
- Add 5000-core-manager-run-generators-directly-when-we-are-in-.patch, a
temporary workaround until https://github.com/dracutdevs/dracut/issues/2211 is
fixed in dracut.
- Upgrade to v253.1 (commit 6c327d74aa0d350482e82a247d7018559699798d)
See https://github.com/openSUSE/systemd/blob/SUSE/v253/NEWS for details.
* Rebased 0001-conf-parser-introduce-early-drop-ins.patch
* Ship systemd-journald-audit.socket again: it can now be disabled via the
usual "systemctl disable" mechanism to stop collection of audit
messages. Note that it's handled by the preset logic, which turns it off by
default.
* TEST_06_SELINUX needs selinux-policy-devel.
OBS-URL: https://build.opensuse.org/request/show/1072270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=383