c7da77a1ea
replace -Dukify=no with -Dukify=false
Franck Bui2023-09-27 15:05:09 +00:00
6dd0f037af
ukify is disabled when -Dbootloader=no
Franck Bui2023-09-27 14:56:42 +00:00
d8d36ec03e
- Import commit 9674bb256205e6c643feadbcccfd1ee8feeee684 (merge of v254.5) For a complete list of changes, visit: 6ed5b11298...9674bb2562Franck Bui2023-09-27 13:16:32 +00:00
7183abbabb
- Make sure to call %sysusers_create only when transfiletrigger is disabled.
Franck Bui2023-09-27 10:15:58 +00:00
0fe8f336a3
- systemd.spec: switch to %ldconfig_scriptlets
Franck Bui2023-09-27 10:02:08 +00:00
df4af92f39
- systemd.spec: add %tmpfiles_create systemd-resolve It's only needed by SLE distros since systemd packages rely on transtriggerfiles in Factory.
Franck Bui2023-09-27 09:24:14 +00:00
5861717685
Accepting request 1113047 from Base:System
Ana Guerrero2023-09-26 20:00:41 +00:00
ea581d0d7e
- Import commit 6ed5b11298005e07509832881a0c5ff1a80bf225 (merge of v254.4) For a complete list of changes, visit: b6b4e5a8a8...6ed5b11298Franck Bui2023-09-25 08:30:24 +00:00
821bba5360
for consistency with the other sub-packages, always run %systemd_{pre,post} for the main package
Franck Bui2023-09-22 15:25:11 +00:00
ede6695f02
- systemd.spec: during package updates, restart localed, timedated and hostnamed if they're running.
Franck Bui2023-09-22 15:05:44 +00:00
c2bba2b2fb
timesyncd is shipped in udev, move the related calls to %systemd_* in the udev scriptlets
Franck Bui2023-09-22 14:43:05 +00:00
cef8d9fd63
- systemd.spec: when enabling units prefer enabling service units over socket ones for socket activable services. The services shipped by systemd automatically redirect the enablement request to the socket unit.
Franck Bui2023-09-22 14:28:05 +00:00
e1dfd28971
- 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 Bui2023-09-14 06:36:30 +00:00
b0376a7cd6
- 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 Bui2023-09-12 19:31:58 +00:00
ea218f7d06
only set build option rc-local= when necessary (ie 'sysvcompt' is enabled)
Franck Bui2023-09-12 18:35:09 +00:00
a86451d595
- fixlet-systemd-post.sh: fix invalid use of rpm macro %{_localstatedir}
Franck Bui2023-09-12 18:29:08 +00:00
23337594b0
Accepting request 1110245 from Base:System
Ana Guerrero2023-09-11 19:19:48 +00:00
bdcce0684d
- Import commit b6b4e5a8a82d1f13f265a4ef170f2d13be82789a (merge of v254.3) For a complete list of changes, visit: 1f73719d67...b6b4e5a8a8Franck Bui2023-09-11 08:44:08 +00:00
865864dec8
Accepting request 1105855 from home:kukuk:no-utmp
Franck Bui2023-08-24 13:26:27 +00:00
6d4d2a387d
- 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 Bui2023-08-24 10:50:22 +00:00
295a38e9b3
document bsc#1211725 in the changelogs
Franck Bui2023-08-22 12:54:28 +00:00
ce66f12529
Accepting request 1104676 from home:dimstar:Factory
Franck Bui2023-08-18 13:23:39 +00:00
060ee9c9e5
- Don't build systemd-doc with the mini flavor
Franck Bui2023-08-18 13:20:40 +00:00
a80caf0e0c
don't build systemd-lang for the mini flavor
Franck Bui2023-08-18 12:53:51 +00:00
64cb609256
- Fix incorrect option name when calling pam-config for systemd-homed
Franck Bui2023-08-18 06:31:58 +00:00
334cc399fc
fix a regression in unit test in 0001-conf-parser-introduce-early-drop-ins.patch introduced during the merge of v254
Franck Bui2023-08-17 12:39:01 +00:00
c868fe70c3
reorder some comments for the testsuite (probably screwed up by the script called when commiting change :()
Franck Bui2023-08-17 09:11:10 +00:00
b1f5d80bd0
Accepting request 1104340 from home:jsegitz:branches:Base:System
Franck Bui2023-08-17 09:06:45 +00:00
5ffe3dbe5a
- systemd.spec: add journal translations to lang package
Franck Bui2023-08-16 17:01:33 +00:00
6c5453ebd8
- 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 Bui2023-08-16 10:41:44 +00:00
dd079ea022
- 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 Bui2023-08-16 10:29:27 +00:00
23da1b614f
update the description of the udev sub-package
Franck Bui2023-08-11 08:51:00 +00:00
4affe82ce3
- Import commit fcdb2dd2c921db3c6b7c28465dbda314f4469d17 (merge of v253.8) For a complete list of changes, visit: 2dac0aff9c...fcdb2dd2c9Franck Bui2023-08-11 08:48:02 +00:00
da1abcc9aa
make systemd-testsuite pull the new subpackage systemd-homed in
Franck Bui2023-08-07 08:07:39 +00:00
731e14792c
- 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 Bui2023-07-28 14:57:10 +00:00
6f3377b07d
Reference bsc#1213575 in the changelog
Franck Bui2023-07-25 14:19:41 +00:00
7a6ffc5dea
- systemd-homed is no more considered as experimental It's been moved to its own dedicated sub-package "systemd-homed".
Franck Bui2023-07-25 06:35:14 +00:00
eb5db00003
- systemd-userdb is no more considered as experimental (jsc#PED-2668) As such it's been moved to the main package.
Franck Bui2023-07-24 14:38:08 +00:00
5030e7069e
Accepting request 1099230 from Base:System
Ana Guerrero2023-07-19 17:10:10 +00:00
491fe6fe1c
- Import commit 2dac0aff9ced1eca0cd11c24e264b33095ee5a5e (merge of v253.7) For a complete list of changes, visit: 6458c06654...2dac0aff9cFranck Bui2023-07-18 08:57:49 +00:00
e5596b36a2
document the removal of 5002-Revert-core-service-when-resetting-PID-also-reset-kn.patch
Franck Bui2023-07-13 08:53:07 +00:00
aef95c4902
reference bsc#1212434 in the changelog
Franck Bui2023-07-11 16:38:41 +00:00
dfb9678c24
- Import commit 6458c066547eaadf0e9709e441ea36ad03faa860 (merge of v253.6) For a complete list of changes, visit: 07bb12a282...6458c06654Franck Bui2023-07-11 13:51:36 +00:00
6f5dca408b
- Move a bunch of files from systemd to udev. These are pretty useless without block devices.
Franck Bui2023-07-11 13:20:20 +00:00
fe14c1cb4b
fix a sentence in systemd.changes
Franck Bui2023-06-21 12:57:45 +00:00
111805f6c2
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.
Franck Bui2023-06-21 12:38:22 +00:00
ff00c03b51
fixlet-container-post.sh and systemd-nspawn.conf are only shipped when machined is enabled
Franck Bui2023-06-21 11:34:13 +00:00
ef58d270ce
re-enable file-triggers which was mistakenly disabled by the previous commit
Franck Bui2023-06-21 11:30:56 +00:00
d3e6a71e9d
- 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 Bui2023-06-21 10:33:46 +00:00
b8e4abdfe1
- 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 Bui2023-06-21 09:32:38 +00:00
b3db206b64
- 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 Bui2023-06-20 15:55:18 +00:00
e8e7cdfaac
- Make sure to skip the call to systemd-tmpfile in the file-triggers when running on transaction systems
Franck Bui2023-06-16 14:42:32 +00:00
6b6870da2b
- Import commit 07bb12a282b0ea378850934c4a76008b448b8bad (merge of v253.5) For a complete list of changes, visit: 25aec15788...07bb12a282Franck Bui2023-06-01 16:07:57 +00:00
f108cb9936
- 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 Bui2023-06-01 15:56:32 +00:00
5331f6ca8f
- Move more packaging fixups in the fixlet script.
Franck Bui2023-05-09 14:28:15 +00:00
54a2689126
- 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 Bui2023-05-09 14:01:32 +00:00
92f48c5e12
- 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 Bui2023-05-09 12:43:50 +00:00
25fc6711e9
- 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 Bui2023-05-05 13:03:20 +00:00
0934f992b0
- 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 Bui2023-05-04 10:06:44 +00:00
d6e6364e53
- Import commit 25aec157888f7aa9a36726962fcbbf2c74ead440 (merge of v253.4) For a complete list of changes, visit: 3ce9610975...25aec15788Franck Bui2023-05-03 07:31:31 +00:00
1699c7e0a4
- 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 Bui2023-05-03 06:34:19 +00:00
5b896c28e1
systemd_post/pre should be called in any cases (regardless of file triggers)
Franck Bui2023-05-02 12:14:31 +00:00
85b52272c7
- 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 Bui2023-05-02 11:23:49 +00:00
1673c4e556
- Re-add back 'arabic' keymap mapping as YaST needs more time than expected to cope with this change.
Franck Bui2023-04-28 10:44:50 +00:00
6663e9a3ce
- 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 Bui2023-04-27 16:27:42 +00:00
19a76cec5a
- kbd-model-map.legacy: 'arabic' vc keymap has been renamed 'ara' (bsc#1210702)
Franck Bui2023-04-27 09:05:16 +00:00
9eaee4aba8
update comments in kbd-model-map.legacy
Franck Bui2023-04-20 12:59:09 +00:00
10f82d07f1
Accepting request 1080373 from home:lnussel:branches:Base:System
Franck Bui2023-04-20 06:18:00 +00:00
f25119d02a
Accepting request 1080107 from home:mvidner:branches:Base:System
Franck Bui2023-04-18 10:20:50 +00:00
373941eb36
Accepting request 1078596 from home:kukuk:branches:Base:System
Franck Bui2023-04-14 07:58:47 +00:00
f502445148
- testsuite: TEST-75-RESOLVED needs knot DNS server
Franck Bui2023-04-05 08:22:16 +00:00
daeaf1d624
- 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...66f3a8a47dFranck Bui2023-04-05 07:45:22 +00:00