Commit Graph

1256 Commits

Author SHA256 Message Date
Franck Bui
5f3964a842 - Don't include entries listed in kbd-model-map.xkb-generated (provided by kbd
package) in kbd-model-map anymore. Yast, the only user of these entries,
  directly parses kbd-model-map.xkb-generated now (bsc#1211104).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1461
2023-10-13 11:28:05 +00:00
Franck Bui
6601106791 - tmpfiles-suse.conf: drop entries for /run/lock and /var/log/wtmp
/run/lock is now defined by filesystem package and wtmp has been replaced by
  wtmpdb on TW.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1460
2023-10-13 09:36:13 +00:00
Franck Bui
59f210b9a9 - rpmlintrc: allow systemd-network and systemd-container sub-packages to ship
shared libs. These are actually NSS plugins and are not really subject to
  shlib policy.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1459
2023-10-05 15:07:08 +00:00
Franck Bui
a3b98501d5 Revert "Rename libudev-mini1 into libudev1-mini for consistency with libsystemd0-mini"
The name "libudev-mini1" is hardcoded in multiple OBS project configs.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1458
2023-10-05 09:08:59 +00:00
Franck Bui
73cdbd9fc6 fix rpmlint error due to the previous rename of libudev mini package
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1457
2023-10-05 06:41:50 +00:00
Franck Bui
e288dd21ba systemd-rpmlintrc: don't consider NSS plugins as shared libs
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1456
2023-10-04 14:25:23 +00:00
Franck Bui
9db2ee771e Rename libudev-mini1 into libudev1-mini for consistency with libsystemd0-mini
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1455
2023-10-04 10:36:20 +00:00
Franck Bui
e61bca8b96 - Drop 5000-core-manager-run-generators-directly-when-we-are-in-.patch
Since dracut-059+suse.447.g9d1fc722, this workaround is not needed anymore.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1454
2023-10-04 09:03:05 +00:00
Franck Bui
f3486602d8 document bsc#1215241 in systemd.changes
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1453
2023-09-29 06:37:16 +00:00
Franck Bui
2c2997f0b0 replace -Dukify=no with -Dukify=false
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1452
2023-09-27 15:05:09 +00:00
Franck Bui
1a29b9a650 ukify is disabled when -Dbootloader=no
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1451
2023-09-27 14:56:42 +00:00
Franck Bui
7f8720dd6d - Import commit 9674bb256205e6c643feadbcccfd1ee8feeee684 (merge of v254.5)
For a complete list of changes, visit:
  6ed5b11298...9674bb2562

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1450
2023-09-27 13:16:32 +00:00
Franck Bui
930780d088 - Make sure to call %sysusers_create only when transfiletrigger is disabled.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1449
2023-09-27 10:15:58 +00:00
Franck Bui
7c4b739d55 - systemd.spec: switch to %ldconfig_scriptlets
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1448
2023-09-27 10:02:08 +00:00
Franck Bui
60127ab253 - systemd.spec: add %tmpfiles_create systemd-resolve
It's only needed by SLE distros since systemd packages rely on
  transtriggerfiles in Factory.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1447
2023-09-27 09:24:14 +00:00
Franck Bui
ebc969dcfc - Import commit 6ed5b11298005e07509832881a0c5ff1a80bf225 (merge of v254.4)
For a complete list of changes, visit:
  b6b4e5a8a8...6ed5b11298

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1446
2023-09-25 08:30:24 +00:00
Franck Bui
fc6785ff39 for consistency with the other sub-packages, always run %systemd_{pre,post} for the main package
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1445
2023-09-22 15:25:11 +00:00
Franck Bui
7780893ce3 - systemd.spec: during package updates, restart localed, timedated and hostnamed
if they're running.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1444
2023-09-22 15:05:44 +00:00
Franck Bui
f2e273fd91 add missing '%systemd_preun systemd-timesyncd.service'
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1443
2023-09-22 14:46:21 +00:00
Franck Bui
1d3cb74474 timesyncd is shipped in udev, move the related calls to %systemd_* in the udev scriptlets
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1442
2023-09-22 14:43:05 +00:00
Franck Bui
40ce276b0c - 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.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1441
2023-09-22 14:28:05 +00:00
Franck Bui
d594b5f7ef reword one comment
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1440
2023-09-22 08:36:42 +00:00
Franck Bui
b5adfb7ac3 explicitely enable/disable ukify
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1439
2023-09-14 12:40:59 +00:00
Franck Bui
b9cbd98460 - 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.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1438
2023-09-14 06:36:30 +00:00
Franck Bui
24c75ba3bb - 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.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1437
2023-09-12 19:31:58 +00:00
Franck Bui
14597e6c16 only set build option rc-local= when necessary (ie 'sysvcompt' is enabled)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1436
2023-09-12 18:35:09 +00:00
Franck Bui
46191c97d9 - fixlet-systemd-post.sh: fix invalid use of rpm macro %{_localstatedir}
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1435
2023-09-12 18:29:08 +00:00
Franck Bui
7b4c7367be - Import commit b6b4e5a8a82d1f13f265a4ef170f2d13be82789a (merge of v254.3)
For a complete list of changes, visit:
  1f73719d67...b6b4e5a8a8

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1434
2023-09-11 08:44:08 +00:00
Franck Bui
517f9f75b6 Accepting request 1105855 from home:kukuk:no-utmp
- Make utmp support per project configureable [jsc#PED-3144]
- Make apparmor and selinux per project configureable [jsc#PED-2736]

OBS-URL: https://build.opensuse.org/request/show/1105855
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1433
2023-08-24 13:26:27 +00:00
Franck Bui
c10a1a22e0 - 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.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1432
2023-08-24 10:50:22 +00:00
Franck Bui
531f293481 document bsc#1211725 in the changelogs
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1431
2023-08-22 12:54:28 +00:00
Franck Bui
99edaf0b8b fix build warnings: "File listed twice: ..."
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1430
2023-08-18 13:40:15 +00:00
Franck Bui
fc10ef7e72 Accepting request 1104676 from home:dimstar:Factory
- 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.

OBS-URL: https://build.opensuse.org/request/show/1104676
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1429
2023-08-18 13:23:39 +00:00
Franck Bui
33b9f62243 - Don't build systemd-doc with the mini flavor
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1428
2023-08-18 13:20:40 +00:00
Franck Bui
0b0bed9ae0 don't build systemd-lang for the mini flavor
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1427
2023-08-18 12:53:51 +00:00
Franck Bui
e734091b73 - Fix incorrect option name when calling pam-config for systemd-homed
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1426
2023-08-18 06:31:58 +00:00
Franck Bui
adbc1fe00c fix a regression in unit test in 0001-conf-parser-introduce-early-drop-ins.patch introduced during the merge of v254
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1425
2023-08-17 12:39:01 +00:00
Franck Bui
4440401229 reorder some comments for the testsuite (probably screwed up by the script called when commiting change :()
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1424
2023-08-17 09:11:10 +00:00
Franck Bui
6378643fc1 Accepting request 1104340 from home:jsegitz:branches:Base:System
- 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)

OBS-URL: https://build.opensuse.org/request/show/1104340
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1423
2023-08-17 09:06:45 +00:00
Franck Bui
ad958c372e - systemd.spec: add journal translations to lang package
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1422
2023-08-16 17:01:33 +00:00
Franck Bui
7f95d496a4 - 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

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1421
2023-08-16 10:41:44 +00:00
Franck Bui
abf33793bd - 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

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1420
2023-08-16 10:29:27 +00:00
Franck Bui
7129c82e11 update the description of the udev sub-package
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1419
2023-08-11 08:51:00 +00:00
Franck Bui
cb8db01ffc - Import commit fcdb2dd2c921db3c6b7c28465dbda314f4469d17 (merge of v253.8)
For a complete list of changes, visit:
  2dac0aff9c...fcdb2dd2c9

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1418
2023-08-11 08:48:02 +00:00
Franck Bui
300532021e make systemd-testsuite pull the new subpackage systemd-homed in
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1417
2023-08-07 08:07:39 +00:00
Franck Bui
de15224ccd - 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).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1416
2023-07-28 14:57:10 +00:00
Franck Bui
d8d79216bc Reference bsc#1213575 in the changelog
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1415
2023-07-25 14:19:41 +00:00
Franck Bui
053f0cfcc0 - systemd-homed is no more considered as experimental
It's been moved to its own dedicated sub-package "systemd-homed".

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1414
2023-07-25 06:35:14 +00:00
Franck Bui
c4fd7e3731 - systemd-userdb is no more considered as experimental (jsc#PED-2668)
As such it's been moved to the main package.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1413
2023-07-24 14:38:08 +00:00
Franck Bui
e006e0ae66 - Import commit 2dac0aff9ced1eca0cd11c24e264b33095ee5a5e (merge of v253.7)
For a complete list of changes, visit:
  6458c06654...2dac0aff9c

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1412
2023-07-18 08:57:49 +00:00