0a142db681- systemd.spec: %regenerate_initrd_post is only used by udev sub-package hence move the build requirement pulling this macro in in the list of udev BRs.
Franck Bui
2023-09-14 06:36:30 +0000
8183517546- Don't ship after-local.service anymore. This was mostly a hack for people wanting to execute any random things once the boot was finished. We shouldn't encourage such practice and it actually conflicts with the sysv-generator which believes that /etc/init.d/after.local is SysV init script that needs to be converted into a native unit file. We still install a copy of this service in /etc if the user is relying on it, for backward compatibility.
Franck Bui
2023-09-12 19:31:58 +0000
fc05f8f1c7only set build option rc-local= when necessary (ie 'sysvcompt' is enabled)
Franck Bui
2023-09-12 18:35:09 +0000
97e72fb3c5- fixlet-systemd-post.sh: fix invalid use of rpm macro %{_localstatedir}
Franck Bui
2023-09-12 18:29:08 +0000
1cecadbca4Accepting request 1110245 from Base:System
Ana Guerrero
2023-09-11 19:19:48 +0000
2a21908ced- Import commit b6b4e5a8a82d1f13f265a4ef170f2d13be82789a (merge of v254.3) For a complete list of changes, visit: 1f73719d67...b6b4e5a8a8
Franck Bui
2023-09-11 08:44:08 +0000
8f91a4681e- Make utmp support per project configureable [jsc#PED-3144] - Make apparmor and selinux per project configureable [jsc#PED-2736]
Franck Bui
2023-08-24 13:26:27 +0000
37ff14831d- systemd.spec: don't use build conditionals (%bcond_with/%bcond_without) with the mini flavor to make sure that all the features remain disabled for this flavor regardless of what is enabled in the prjconf.
Franck Bui
2023-08-24 10:50:22 +0000
e6b0fabeb4document bsc#1211725 in the changelogs
Franck Bui
2023-08-22 12:54:28 +0000
4c45b20dbd- Explicitly require group(lp) by udev: this used to be provided by system-group-hardware, but with the introduction of system-user-lp (and systemd-users auto-generating groups) is now actually provided by system-user-lp. Latest versions of system-group-hardware clean this up and no longer also provide this group.
Franck Bui
2023-08-18 13:23:39 +0000
5e27a3cb9f- Don't build systemd-doc with the mini flavor
Franck Bui
2023-08-18 13:20:40 +0000
5bfece023bdon't build systemd-lang for the mini flavor
Franck Bui
2023-08-18 12:53:51 +0000
c4f2f0d4a7- Fix incorrect option name when calling pam-config for systemd-homed
Franck Bui
2023-08-18 06:31:58 +0000
b3f8f1cd6ffix a regression in unit test in 0001-conf-parser-introduce-early-drop-ins.patch introduced during the merge of v254
Franck Bui
2023-08-17 12:39:01 +0000
c4c7172a4freorder some comments for the testsuite (probably screwed up by the script called when commiting change :()
Franck Bui
2023-08-17 09:11:10 +0000
5d7f658f22- Recommend selinux-policy-devel instead of requiring it in line with other tests. Add Recommends for selinux-policy-targeted as this is also required to run the test (in general any SELinux policy should do)
Franck Bui
2023-08-17 09:06:45 +0000
256948681a- systemd.spec: add journal translations to lang package
Franck Bui
2023-08-16 17:01:33 +0000
fa2984f9e1- Import commmit 1f73719d67b9300c6bb75232d695d03410991098 1f73719d67 test-mountpoint-util: /root might be mounted a391ba4a8f test: testsuite-35.sh needs manual/test-session-properties to be installed on SUSE
Franck Bui
2023-08-16 10:41:44 +0000
45a307a75e- Upgrade to v254.1 (commit 208a21833b6953a2517a6c3f8f4849c6664b01be) 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
Franck Bui
2023-08-16 10:29:27 +0000
c3f5d689a6Accepting request 1103458 from Base:System
Dominique Leuenberger
2023-08-12 13:05:55 +0000
d6593c65ecupdate the description of the udev sub-package
Franck Bui
2023-08-11 08:51:00 +0000
bdf9b6ac6e- Import commit fcdb2dd2c921db3c6b7c28465dbda314f4469d17 (merge of v253.8) For a complete list of changes, visit: 2dac0aff9c...fcdb2dd2c9
Franck Bui
2023-08-11 08:48:02 +0000
ea6db3632dmake systemd-testsuite pull the new subpackage systemd-homed in
Franck Bui
2023-08-07 08:07:39 +0000
be1987aad0Accepting request 1101213 from Base:System
Dominique Leuenberger
2023-07-29 18:10:03 +0000
dfc7215463- 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).
Franck Bui
2023-07-28 14:57:10 +0000
1f32191358Reference bsc#1213575 in the changelog
Franck Bui
2023-07-25 14:19:41 +0000
e5e8ddd9f2- systemd-homed is no more considered as experimental It's been moved to its own dedicated sub-package "systemd-homed".
Franck Bui
2023-07-25 06:35:14 +0000
628050188a- systemd-userdb is no more considered as experimental (jsc#PED-2668) As such it's been moved to the main package.
Franck Bui
2023-07-24 14:38:08 +0000
813163907cAccepting request 1099230 from Base:System
Ana Guerrero
2023-07-19 17:10:10 +0000
75246c0ed4- Import commit 2dac0aff9ced1eca0cd11c24e264b33095ee5a5e (merge of v253.7) For a complete list of changes, visit: 6458c06654...2dac0aff9c
Franck Bui
2023-07-18 08:57:49 +0000
2a0eccaaabdocument the removal of 5002-Revert-core-service-when-resetting-PID-also-reset-kn.patch
Franck Bui
2023-07-13 08:53:07 +0000
8bd89304c4reference bsc#1212434 in the changelog
Franck Bui
2023-07-11 16:38:41 +0000
98480c98cd- Import commit 6458c066547eaadf0e9709e441ea36ad03faa860 (merge of v253.6) For a complete list of changes, visit: 07bb12a282...6458c06654
Franck Bui
2023-07-11 13:51:36 +0000
668d6da478- Move a bunch of files from systemd to udev. These are pretty useless without block devices.
Franck Bui
2023-07-11 13:20:20 +0000
fe0a9b4fd9Accepting request 1096633 from Base:System
Dominique Leuenberger
2023-07-04 13:21:44 +0000
c2149b89d3- Split off sd-boot into separate "systemd-boot" subpackage
Franck Bui
2023-07-03 15:17:58 +0000
00d38df404Accepting request 1095850 from Base:System
Dominique Leuenberger
2023-06-29 15:27:27 +0000
8ecfe00fcaClarify some entries in the changelog
Franck Bui
2023-06-27 15:07:34 +0000
7b1c6a9e46- Change the group owner of /run/lock from "lock" to "root" (bsc#1212674)
Franck Bui
2023-06-27 13:08:31 +0000
164a69e2d1- file-triggers: fix a typo that sneaked in the script dealing with tmpfiles (bsc#1212733)
Franck Bui
2023-06-26 14:28:56 +0000
94d53dec1bAccepting request 1094372 from Base:System
Dominique Leuenberger
2023-06-23 19:52:20 +0000
03d4900628fix a sentence in systemd.changes
Franck Bui
2023-06-21 12:57:45 +0000
5d79c2406dwhen 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.
Franck Bui
2023-06-21 12:38:22 +0000
caf3abe93cfixlet-container-post.sh and systemd-nspawn.conf are only shipped when machined is enabled
Franck Bui
2023-06-21 11:34:13 +0000
ab3e167139re-enable file-triggers which was mistakenly disabled by the previous commit
Franck Bui
2023-06-21 11:30:56 +0000
b8e225656e- Make sure to pre-install the groups systemd and udev rely on. This is needed when the tmpfiles are run at package installation time (i.e. when file-triggers are disabled).
Franck Bui
2023-06-21 10:33:46 +0000
8c83a82ff4- 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.
Franck Bui
2023-06-21 09:32:38 +0000
a7c57e8b4b- file-triggers: skip the call to systemd-tmpfiles in chroot too. That way we 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.
Franck Bui
2023-06-20 15:55:18 +0000
23df30a2ad- 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
Franck Bui
2023-06-20 11:04:49 +0000
6313b64031Accepting request 1093507 from Base:System
Dominique Leuenberger
2023-06-16 14:53:14 +0000
bd1bac9c07- Make sure to skip the call to systemd-tmpfile in the file-triggers when running on transaction systems
Franck Bui
2023-06-16 14:42:32 +0000
05e09cb34bAccepting request 1090446 from Base:System
Dominique Leuenberger
2023-06-12 13:25:00 +0000
3708025277- Import commit 07bb12a282b0ea378850934c4a76008b448b8bad (merge of v253.5) For a complete list of changes, visit: 25aec15788...07bb12a282
Franck Bui
2023-06-01 16:07:57 +0000
047d198784- 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.
Franck Bui
2023-06-01 15:56:32 +0000
e43eb6d15cAccepting request 1088562 from Base:System
Dominique Leuenberger
2023-05-24 18:21:27 +0000
41722d12ea- Move more packaging fixups in the fixlet script.
Franck Bui
2023-05-09 14:28:15 +0000
55bee7faf8- 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.
Franck Bui
2023-05-09 14:01:32 +0000
83a8c07b2c- Drop an old fix for the persistent net rules (only needed on SLE). Factory (fortunately) dropped the persistent net rule generator long time ago.
Franck Bui
2023-05-09 12:43:50 +0000
3c558a2f04Accepting request 1085215 from Base:System
Dominique Leuenberger
2023-05-08 15:23:42 +0000
7670ef0494- 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.
Franck Bui
2023-05-05 13:03:20 +0000
039e8abe55- 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.
Franck Bui
2023-05-04 10:06:44 +0000
0728e8acd6Accepting request 1084033 from Base:System
Dominique Leuenberger
2023-05-03 10:56:28 +0000
159c59550d- Import commit 25aec157888f7aa9a36726962fcbbf2c74ead440 (merge of v253.4) For a complete list of changes, visit: 3ce9610975...25aec15788
Franck Bui
2023-05-03 07:31:31 +0000
9b2755c044- 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 - Mapping for converted keymaps is not needed anymore since their conversion to their x11 layout counterpart is now done automatically by localed (commit f08017efd5).
Franck Bui
2023-05-03 06:34:19 +0000
14e8bb4e70systemd_post/pre should be called in any cases (regardless of file triggers)
Franck Bui
2023-05-02 12:14:31 +0000
ce0e8b2566- 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.
Franck Bui
2023-05-02 11:23:49 +0000
2b41c3d617Accepting request 1083513 from Base:System
Dominique Leuenberger
2023-04-29 15:27:53 +0000
c68a45619f- Re-add back 'arabic' keymap mapping as YaST needs more time than expected to cope with this change.
Franck Bui
2023-04-28 10:44:50 +0000
0d52025469- 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.
Franck Bui
2023-04-27 16:27:42 +0000
64da18014e- kbd-model-map.legacy: 'arabic' vc keymap has been renamed 'ara' (bsc#1210702)
Franck Bui
2023-04-27 09:05:16 +0000
5f019b645aupdate comments in kbd-model-map.legacy
Franck Bui
2023-04-20 12:59:09 +0000
7aa8aa42ac- add some green to systemd-boot menu
Franck Bui
2023-04-20 06:18:00 +0000
899860a85d- kbd-model-map.legacy: drop some entries no longer needed by YaST (related to bsc#1194609)
Franck Bui
2023-04-18 10:20:50 +0000
93b8e1fb6dAccepting request 1077457 from Base:System
Dominique Leuenberger
2023-04-07 16:16:21 +0000
f6aa2eabef- testsuite: TEST-75-RESOLVED needs knot DNS server
Franck Bui
2023-04-05 08:22:16 +0000
5c988fd02b- Import commit 66f3a8a47d5bf6aea3f6fb181c01550a1a54406e (merge of v253.3) This merge also includes the following fix, which is not part of the stable release: d2413cec02 test/test-functions: fix typo in install_suse_systemd() For a complete list of changes, visit: 03cfbe7673...66f3a8a47d
Franck Bui
2023-04-05 07:45:22 +0000
5723a4b5d2Accepting request 1076955 from Base:System
Dominique Leuenberger
2023-04-04 19:17:15 +0000
4b92ce748d- 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
Franck Bui
2023-04-03 09:38:08 +0000
a4bec19d33- Import commit b63f58661b08037d8cb04ed97b5e39d9bf415fdc (merge of v253.2) For a complete list of changes, visit: 8b01686dd2...b63f58661b - Move systemd-fsck stuff to udev sub-package.
Franck Bui
2023-03-31 15:15:32 +0000
dc17d97673- 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.
Franck Bui
2023-03-31 13:08:07 +0000
080ea78a37- 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'
Franck Bui
2023-03-28 16:14:46 +0000
cdffb977feAccepting request 1073914 from Base:System
Dominique Leuenberger
2023-03-25 17:54:08 +0000
a13df27138- 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.
Franck Bui
2023-03-23 08:13:40 +0000
312f14ec24Accepting request 1073063 from Base:System
Dominique Leuenberger
2023-03-22 21:29:00 +0000
cef5dcaf15Add requires to pefile module python for the ukify tool on systemd-experimental
Franck Bui
2023-03-21 15:38:07 +0000
ba06ea716c- Drop 0005-udev-create-default-symlinks-for-primary-cd_dvd-driv.patch These obsolete symlinks were kept because several years ago VLC was still relying on some of them. However it's been a long a time ago that it's been fixed and cdrom or similar devices are discovered in a better way.
Franck Bui
2023-03-20 08:37:06 +0000
27d98bf151- Enable that systemd can load the IMA policy from /etc/ima/ima-policy. This is used to complement dracut-ima when using SELinux, as the SELinux policy should not be loaded in the initrd (https://github.com/openSUSE/microos-tools/pull/14)
Franck Bui
2023-03-20 08:20:36 +0000
bdfe58333dAccepting request 1072270 from Base:System
Dominique Leuenberger
2023-03-17 16:00:51 +0000
888db67d87- 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.
Franck Bui
2023-03-16 07:35:14 +0000