Commit Graph

1121 Commits

Author SHA256 Message Date
3f1fb126bf Avoid shipping (empty) directories and ghost files in /var (jsc#PED-14853)
This was originally intended to ensure these paths had a designated package
owner. However the existing list was neither exhaustive nor up to date. To
better support immutable images, we are removing these entries and will now keep
only /var/lib/systemd as owned by the systemd package. Maintaining the broader
list provided little value due to its ongoing inconsistency anyways.
2026-02-05 15:25:36 +01:00
38f8a80629 Import commit fb9d92682b2469aa205d4df3ffea61e4806ed0e9
b9d92682b terminal-util: stop doing 0/upper bound check in tty_is_vc() (bsc#1255326)
80ec26cee0 core/dbus-manager: propagate meaningful dbus errors from EnqueueMarkedJobs
2026-02-04 11:57:26 +01:00
bda43da0fe Name libsystemd-{shared,core} based on the major version of systemd and the package release number (bsc#1228081 bsc#1256427)
This way, both the old and new versions of the shared libraries will be present
during the update. This should prevent issues during package updates when
incompatible changes are introduced in the new versions of the shared libraries.
2026-01-13 15:26:59 +01:00
8d9dd7e942 systemd.spec: don't reexecute PID1 on transactional updates 2026-01-09 16:10:33 +01:00
7bdee09be3 Drop most of the workarounds contained in the fixlets 2026-01-09 15:32:41 +01:00
fc711a1c8a Drop %filetriggers build flag 2026-01-07 15:46:28 +01:00
a17311a409 Add 0001-Drop-or-soften-some-upstream-warnings.patch (bsc#1228728) (bsc#1251981)
For now it just drops the 'unmerged-bin' taint flag.

(cherry picked from commit 7ed0b505af)
2025-12-19 11:31:22 +01:00
d703feb1d6 Import commit 5701fd5fb409da99b6627b86d7839553079a73ab
5701fd5fb4 timer: rebase last_trigger timestamp if needed
  4e76e74d0d timer: rebase the next elapse timestamp only if timer didn't already run
2025-12-16 18:10:23 +01:00
317567aecf Import commit 409c6ef1ea5cd4d11214648aabd34227aa058d79 (merge of v257.10) 2025-12-16 15:05:30 +01:00
a5965e4232 Import commit aba474eeaac455ebe22b643ecdd856e5583094a1
aba474eeaa main: switch explicitly to tty1 on soft-reboot (bsc#1231986)
  a437bf2499 terminal-util: modernize vtnr_from_tty() a bit
  2dbe9f5809 units: don't force the loading of the loop and dm_mod modules in systemd-repart.service (bsc#1248356)
2025-12-16 15:05:30 +01:00
ffafcee6cf Fix systemd-network recommending libidn2-devel (boo#1234765)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1632
(cherry picked from commit feb3ab205d)
2025-12-16 15:05:30 +01:00
2895cb1c8a systemd.spec: use %sysusers_generate_pre to create system users (bsc#1248501)
Use %sysusers_generate_pre so that some systemd users are already available in
%pre. This is important because D-Bus automatically reloads its configuration
whenever new configuration files are installed, i.e. between %pre and
%post.

No needs for systemd and udev packages as they are always installed during the
initial installation.
2025-12-16 15:05:30 +01:00
7837ce233e Import commit c139debf2c6e9556df8ee6eca77ae18d5b98f027 (merge of v257.9)
For a complete list of changes, visit:
835af70f4e...c139debf2c

- Rebase 5001-Revert-udev-update-devlink-with-the-newer-device-nod.patch
2025-12-16 15:05:30 +01:00
b962e2736d Import commit 835af70f4e4fab4746319145d9fdb1a01e33f4c8
835af70f4e core/cgroup: Properly handle aborting a pending freeze operation
1f96f9da13 detect-virt: add bare-metal support for GCE (bsc#1244449)
c3bcfc9558 uki.conf is used by the ukify tool to create an Unified Kernel Image[...]
2025-12-16 15:05:30 +01:00
54b8f0b98a Make sure that the ordering trick used to update the udev package as close as as
possible to the update of the systemd package also works with zypper.

We also need to add "Suggests: udev", which serves the same purpose as
"OrderWithRequires: udev" but is part of the repository metadata. It should
therefore hint zypper to install systemd and udev as close together as possible
(see bsc#1228659)
2025-12-16 15:05:30 +01:00
e4c49b45fb systemd-update-helper: fix regression introduced when support for package renaming/splitting was added (bsc#1245551)
The cleanup of the flags in /run/systemd/rpm was previously handled in the
%pretrans/%posttrans sections of the systemd main package. However, this method
was ineffective if systemd was not part of the transaction. The cleanup is now
run in %transfiletriggerin instead.
2025-10-17 17:09:40 +02:00
9f76b096d9 Import commit a0dfd5de4cdc3f97ef2ad23396904f3e20769317 (merge of v257.7)
For a complete list of changes, visit:
1e42ecf5a1...a0dfd5de4c
2025-10-17 17:09:40 +02:00
aca93a65d1 Import commit 1e42ecf5a145589954df77da05937ee69619f3e5
1e42ecf5a1 firstboot: make sure labelling is enabled
3bdb2efbe0 tmpfiles: fix symlink creation when replacing
61c228d2cc firstboot: use WRITE_STRING_FILE_LABEL more
f5148acf37 env-file: port write_env_file() to label_ops_pre()
bbff8b5523 fs-util: replace symlink_atomic_full_label() by a flag to symlinkat_atomic_full() (bsc#1244237)
2b39393efa env-file: rework write_env_file() to make use of O_TMPFILE
2025-10-17 17:09:40 +02:00
995a7c1cd0 Import commit c929295b4c1fb3cd6b9963bc7588fbc3e597ab86 (merge of v257.6)
For a complete list of changes, visit:
8e9840a289...c929295b4c
2025-10-17 17:09:40 +02:00
2df8b62328 Import commit 8e9840a2897e36ae3f926f8d10a2b0d7e4102c67 (bsc#1243280)
8e9840a289 bless-boot: never try to rename an entry file onto itself
5b5cde8866 bless-boot: in "status" output report bad state from prev boot as "dirty"
49949fa9fb bless-boot: switch from last_path_component() to path_find_last_component()
2025-10-17 17:09:39 +02:00
55cf30064a Add 1002-udev-persistent-net-rules-support.patch (bsc#1241190)
This re-adds back the support for persistent net name rule. This is needed to
support upgrades from older systems relying on persistent net rules.
2025-10-17 17:09:39 +02:00
18fb1c0f00 systemd-update-helper: do not stop or disable services when they are migrated to other packages
This can occur during package renaming or splitting.
2025-10-17 17:09:39 +02:00
4558f36f7a workaround to make sure systemd-resolved is installed before systemd-network is replaced 2025-10-17 17:09:32 +02:00
c848933d6a Add 1001-journal-again-create-user-journals-for-users-with-hi.patch (bsc#1242938)
Don't write messages sent from users with UID falling into the container UID
range to the system journal. Daemons in the container don't talk to the
outside journald as they talk to the inner one directly, which does its
journal splitting based on shifted uids.
2025-10-17 12:10:54 +02:00
1f1b471307 Split systemd-network into two new sub-packages: systemd-networkd and systemd-resolved (bsc#1224386 jsc#PED-12669) 2025-10-17 11:47:44 +02:00
73ccd7c6c8 Import commit c10a66fb4dd34b86d42fa92501bd88db63df479a (merge of v257.5)
This merge includes the following fix:

  9b52c10986 test-network: replace symlink to 99-default.link with a copy
  d7577221b8 man/pstore.conf: pstore.conf template is not always installed in /etc
  62071a984d man: coredump.conf template is not always installed in /etc (bsc#1237496)
  18dde3dd2a umount: do not move busy network mounts (bsc#1236177)

For a complete list of changes, visit:
f133e5974e...c10a66fb4d
2025-10-17 11:43:55 +02:00
0718fb3657 Maintain the network device naming scheme used on SLE15 (jsc#PED-12317) 2025-10-17 11:40:56 +02:00
be39bd9cfc Import commit f133e5974e69708d7491d4823780690c913f7bda (merge of v257.4)
For a complete list of changes, visit:
e03ffd74c4...f133e5974e
2025-10-17 11:37:31 +02:00
bee5b600dc Import commit e03ffd74c4a30c1c75e05874ce18d31e503437b7 (merge of v257.3)
For a complete list of changes, visit:
4779464678...e03ffd74c4
2025-10-17 11:33:02 +02:00
d43f89efd7 Import commit 47794646786ae4ddb6d3deb2030e2761447999ec
4779464678 import-pubring.gpg: add openSUSE build key (bsc#1236751)
  2c8382881f systemd-pull: support .asc and .sha256.* signature (bsc#1236887)
2025-10-17 11:19:36 +02:00
214652c523 Upgrade systemd with systemd v257.2 from Base:System (revision:1574)
- Rename 0001-udev-restore-some-legacy-symlinks-to-maintain-backwa.patch into
  0003-udev-restore-some-legacy-symlinks-to-maintain-backwa.patch

  Given that SLE16 will be based on SLFO, we have no choice but to continue
  supporting these compat symlinks. This compatibility code is no longer
  maintained in the Git repository though, as we primarily backport upstream
  commits these days. Additionally, the compat code rarely changes and often
  causes conflicts when merged into recent versions of systemd.

- Drop 5003-99-systemd.rules-rework-SYSTEMD_READY-logic-for-devi.patch, it's
  part of systemd v256.

- Drop 5004-udev-allow-denylist-for-reading-sysfs-attributes-whe.patch, it's
  part of systemd v256.
2025-10-17 10:47:27 +02:00
cdca43f09a - Import commit 7fa3b5018bfffa176c77a2a5794dce792eebadcb (merge of v257.2)
For a complete list of changes, visit:
  47eea9ee9f...7fa3b5018b

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1574
2025-01-08 16:54:13 +00:00
bb55d57852 Reword the comments about the SUSE specific patches
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1573
2025-01-08 16:32:30 +00:00
fd16aaebd2 Accepting request 1234961 from home:bluca:branches:Base:System
Enclose all patches in the !upstream if block, in order to allow the upstream systemd CI builds to build cleanly and not fail due to fuzz

OBS-URL: https://build.opensuse.org/request/show/1234961
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1572
2025-01-08 16:09:16 +00:00
f3f6082f06 - Upgrade to v257.1 (commit 47eea9ee9f46537bc18d6a64fa21fd9c50538e13)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1570
2024-12-26 10:24:58 +00:00
9fe9c77207 Revert previous commit until the issue on spec file copyright header is solved
See
https://lists.opensuse.org/archives/list/project@lists.opensuse.org/thread/7TRFBOW6IYBAQD2FJCHAHBZSGJP43SCU/,
it looks like the aim of this change was to provide material for triggering this
discussion...

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1569
2024-12-26 10:03:34 +00:00
b113088f02 - Fix systemd-network recommending libidn2-devel (boo#1234765)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1568
2024-12-24 08:44:22 +00:00
b7f5bd5826 - Import commit f962392e1e0d5683a2adebf09698b5fda02f9cfc (merge of v256.10)
For a complete list of changes, visit:
  290170c855...f962392e1e

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1567
2024-12-22 17:34:51 +00:00
64c4a0d1a4 Accepting request 1231867 from home:favogt:boo1233752
- Add 5006-tpm2-util-Also-retry-unsealing-after-policy_pcr-retu.patch
  Backport of https://github.com/systemd/systemd/pull/35657, which fixes
  https://github.com/systemd/systemd/issues/35490 (boo#1233752, bsc#1234313).

OBS-URL: https://build.opensuse.org/request/show/1231867
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1565
2024-12-18 12:39:32 +00:00
6c5e3e7b2c - Add 5005-Revert-boot-Make-initrd_prepare-semantically-equival.patch
Revert commit d64193a2a652b15db9cb9ed10c6b77a17ca46cd2 until the regression it
  caused, reported at https://github.com/systemd/systemd/issues/35439, is fixed
  (see also bsc#1233752 for its downstream counterpart).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1562
2024-12-03 15:05:11 +00:00
4102173858 - Disable EFI support on architectures that are not EFI-compliant
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1561
2024-12-03 09:50:22 +00:00
7b38b3277d - Import commit 290170c8550bf2de4b5085ecdf7f056769944444 (merge of v256.9)
This merge includes the following fix:
    cf7b3cc182 pid1: make clear that $WATCHDOG_USEC is set for the shutdown binary, noone else (bsc#1232227)
  For a complete list of changes, visit:
  c7671762b3...290170c855

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1560
2024-12-03 09:30:13 +00:00
8ca8b94106 - Import commit aee28e4c20a053ea27f8be69f2ea981e43bcb0b6
aee28e4c20 udev-builtin-path_id: SAS wide ports must have num_phys > 1 (bsc#1231610)
  280989cfa4 core: when switching root remove /run/systemd before executing the binary specified by init= (bsc#1227580)
- Drop 5003-core-when-switching-root-remove-run-systemd-before-e.patch, this
  patch has been integrated in branch 'SUSE/v256', see above.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1559
2024-11-04 10:37:36 +00:00
14220de673 - Import commit c7671762b39ead7f8f9e70064256f5efaccedeca (merge of v256.7)
For a complete list of changes, visit:
  8a0ae4d90a...c7671762b3

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1558
2024-10-08 16:33:58 +00:00
3fce15b8d8 - Clean up some remnants from when homed was in the experimental sub-package (bsc#1231048)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1557
2024-10-02 12:23:37 +00:00
4a8bd795c6 - Import commit 8a0ae4d90aff1d067a125ff9366eafc7dd5d4701 (merge of v256.6)
For a complete list of changes, visit:
  bef0958f4d...8a0ae4d90a

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1556
2024-09-18 13:03:51 +00:00
89c62f637d - Don't try to restart the udev socket units anymore (bsc#1228809)
There's currently no way to restart a socket activable service and its socket
  units "atomically" and safely.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1555
2024-08-27 08:04:49 +00:00
1fe859de95 - Import commit bef0958f4db1b774c23505e93537ffe16f1b3894 (merge of v256.5)
For a complete list of changes, visit:
  5bba1ebe17...bef0958f4d

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1553
2024-08-19 15:36:03 +00:00
45ae59cc62 Accepting request 1192927 from home:afeijoo:branches:openSUSE:Factory:bsc1228659
- Order the update of udev and systemd-boot right after systemd (bsc#1228659)

OBS-URL: https://build.opensuse.org/request/show/1192927
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1551
2024-08-09 13:01:08 +00:00
630bf36c30 - Import commit 5bba1ebe17564b606cc5d1c07b14123c305019a7 (merge of v256.4)
For a complete list of changes, visit:
  bd8b5ee3cf...5bba1ebe17

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1549
2024-07-24 14:15:54 +00:00