Commit Graph

888 Commits

Author SHA256 Message Date
Franck Bui
6b2fd8b94a Accepting request 1010314 from home:dirkmueller:Factory
- avoid expanding of macro in comment which leads to an error
  on installation

OBS-URL: https://build.opensuse.org/request/show/1010314
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1316
2022-10-13 07:45:15 +00:00
Franck Bui
2dbdcfd3b6 - Import commit 07aa29e3942fb46b0aed5405c88e8d3179ca958f (merge of v251.5)
For a complete list of changes, visit:
  532faa39eb...07aa29e394

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1315
2022-10-04 08:58:28 +00:00
Franck Bui
1885b2bf97 - Drop the old band aid used during the breakage introduced by the switch of
/tmp to tmpfs
  This was done to address the regression reported in boo#1175779 but shouldn't
  be necessary anymore since the (few) affected users should have updated
  systemd during the last 2 years.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1314
2022-09-21 09:24:59 +00:00
Franck Bui
c6e2ed4ee6 - Move nss-systemd and nss-myhostname NSS modules into the main package
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1313
2022-09-21 07:49:53 +00:00
Franck Bui
b5a0c2544e - Give the instructions to create a home directory with systemd-homed in the
description of the systemd-experimental sub-package

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1312
2022-09-20 15:09:28 +00:00
Franck Bui
ccfa38d727 Accepting request 1001304 from home:fawz:branches:Base:System
- Enable building and include libcryptsetup-plugins provided by systemd
  Now that dracut 057 has been released we can enable building libcryptsetup
  plugins. These can be used by cryptsetup to extend functionality including
  fido2, pkcs11 and tpm2 support.

OBS-URL: https://build.opensuse.org/request/show/1001304
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1309
2022-09-12 07:35:44 +00:00
Franck Bui
f914ef1505 Accepting request 999867 from home:bmwiedemann:reproducible
Let systemd trust the RTC for 30y instead of 15 (bsc#1202356)
  to allow for our systems to be used in edge locations
  without systemd updates for a long time

OBS-URL: https://build.opensuse.org/request/show/999867
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1306
2022-08-29 08:11:19 +00:00
Franck Bui
6a151aebc6 Add creation of systemd-oom user (it was forgotten previously)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1305
2022-08-18 12:51:19 +00:00
Franck Bui
19b09bc15d Revert "Don't try to apply presets to any services shipped by the experimental sub-package"
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1303
2022-08-18 07:02:18 +00:00
Franck Bui
0135b2eb9b - Import commit 532faa39ebaa6f56e493cc938a91a40df082b74f (merge of v251.4)
It includes the following fixes:
  - 739d7130cb home: drop conflicted headers (bsc#1202221)
  - fe0c12178 glibc: Remove #include <linux/fs.h> to resolve fsconfig_command/mount_attr conflict with glibc 2.36 (bsc#1202221)
  For a complete list of changes, visit:
  8cd784e925...532faa39eb

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1302
2022-08-16 16:17:07 +00:00
Dr. Werner Fink
9628116b09 Add 1001-statx.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1301
2022-08-15 11:44:59 +00:00
Franck Bui
2b3296bfa1 - Don't try to apply presets to any services shipped by the experimental sub-package
Experimental services will never be enabled by default.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1300
2022-07-19 12:36:24 +00:00
Franck Bui
54b56a9941 - Enable oomd (bsc#1200456)
It's part of the experimental sub-package for now.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1299
2022-07-19 12:27:38 +00:00
Franck Bui
06a1b480f2 - Import commit 8cd784e9250b38d20d8e14fccbfb211010283c79 (merge of v251.3)
For a complete list of changes, visit:
  3291287906...8cd784e925

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1298
2022-07-19 11:35:56 +00:00
Franck Bui
fa65dfd1b3 - Import commit 32912879062bb1595d8498b6f9c77d5acd1dc66a
111b96ca86 logind: don't delay login for root even if systemd-user-sessions.service is not activated yet (bsc#1195059)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1297
2022-07-19 11:25:58 +00:00
Franck Bui
40b07d35b9 - Enable bpf framework
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1296
2022-07-19 08:59:20 +00:00
Franck Bui
43e2bf7d45 - When systemd-container is installed install tar/gpg too
So `machinectl import-tar` always works flawlessly. systemd-container already
  is an optional package and both tar and gpg are rather basic anyway so no harm
  should be done by requiring them.
- Move the systemd sysupdate stuff from the main package to the experimental
  sub-package while it's still time. The method used (currently) for updating
  openSUSE distro is rpm, not systemd-sysupdate.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1295
2022-07-18 16:35:38 +00:00
Franck Bui
774349dd2a - systemd.spec: add files.experimental
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1294
2022-07-12 18:43:33 +00:00
Franck Bui
1c391d0453 - Import commit 69abca7794ed06d823bc0a9bb55daf822adcc632
f29b146685 pstore: Run after modules are loaded

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1292
2022-07-08 16:30:45 +00:00
Franck Bui
0eff0e6dd6 - pstore is no more considered as an experimental feature: move it to udev
package (bsc#1197802)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1291
2022-06-21 14:13:40 +00:00
Franck Bui
4dda99e52e - spec: %suse_version rpm macro is already reserved and has a special meaning in
openSUSE distros so rename it to %archive_version instead.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1289
2022-06-21 13:19:55 +00:00
Franck Bui
559bd65c27 Accepting request 982793 from home:lnussel:branches:Base:System
- spec: add sbat (boo#1198589)

OBS-URL: https://build.opensuse.org/request/show/982793
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1288
2022-06-15 12:35:14 +00:00
Franck Bui
a379e621e9 - Import commit e9fc337d97539fcab23078ab3e06f6b2ce3a3c8d
ca0b29521f sha256: fix compilation on efi-ia32
  1bbbac6a7e test: enable virtio-rng device for QEMU guests

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1286
2022-06-08 10:19:13 +00:00
Franck Bui
127c248fd5 - Upgrade to v251.2 (commit 949d6bb7201dd48167ee9716ed6278764d1f4c0f)
See https://github.com/openSUSE/systemd/blob/SUSE/v251/NEWS for
  details. 
  - Rebased 0001-conf-parser-introduce-early-drop-ins.patch
  - systemd-testsuite now requires python3-pexpect due to TEST-69-SHUTDOWN
    relying on this module.
  - sysusers.d/systemd-network.conf has been moved to systemd-network
    sub-package since the tmpfiles configuration snippets for networkd has also
    been moved to this sub-package.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1285
2022-06-07 18:24:43 +00:00
Franck Bui
7033bb3105 - Import commit 4dbc543953eabd4c578da67ce6e2970d6f96c406 (merge of v250.6)
For a complete list of changes, visit:
  0d950479e5...4dbc543953

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1284
2022-05-31 13:29:05 +00:00
Franck Bui
5ed922deba Accepting request 976995 from home:jengelh:branches:Base:System
- Update rpmlintrc for shlib-policy-name-error/multibuild case.

OBS-URL: https://build.opensuse.org/request/show/976995
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1283
2022-05-23 08:16:22 +00:00
f8a8a7efe7 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1282 2022-05-07 12:19:38 +00:00
Franck Bui
d803f6c335 - Import commit 0d950479e58dd3af007eb3780d600a5446aac519 (merge of v250.5)
For a complete list of changes, visit:
  736db5a59f...0d950479e5

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1281
2022-05-06 14:54:56 +00:00
Franck Bui
e8f7bc9251 Accepting request 971002 from home:lnussel:branches:Base:System
- spec: sign the systemd-boot efi binary (boo#1198586)

OBS-URL: https://build.opensuse.org/request/show/971002
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1279
2022-04-20 08:23:46 +00:00
Franck Bui
d94f522384 - Drop 0011-core-disable-session-keyring-per-system-sevice-entir.patch
Since bsc#1081947 has been addressed, we can attempt to re-enable private
  session kernel keyring for each system service hence each service gets a
  session keyring that is specific to the service.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1278
2022-04-19 11:26:19 +00:00
Franck Bui
4aed46b222 - Import commit 736db5a59f1ab1317ef64ec6e7dc394250178146
98bc28d824 tmpfiles: constify item_compatible() parameters
  3faf1a2648 test: adapt install_pam() for openSUSE
  b7ca34fa28 test: add test checking tmpfiles conf file precedence
  2713693d93 test tmpfiles: add a test for 'w+'
  ce2cbefe38 tmpfiles.d: only 'w+' can have multiple lines for the same path (bsc#1198090)
  769f5a0cbe Support -D_FORTIFY_SOURCE=3 by using __builtin_dynamic_object_size.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1277
2022-04-19 09:09:31 +00:00
Franck Bui
b99f7bf48b Accepting request 968042 from home:Andreas_Schwab:Factory
- libseccomp is needed everywhere

OBS-URL: https://build.opensuse.org/request/show/968042
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1276
2022-04-11 07:55:36 +00:00
Franck Bui
94670c52ff - Move coredumpctl completion files into systemd-coredump sub-package.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1275
2022-04-07 19:33:15 +00:00
Franck Bui
5a6475e7af - Import commit e43a1b018899266b764ab81afb9c30fb417675c6
1c229f8fc1 cryptsetup: fall back to traditional unlocking if any TPM2 operation fails
  8881f21539 cryptsetup: fix typo
  5882148902 journald: make use of CLAMP() in cache_space_refresh()
  6ee0601f73 journald: make sure journal_file_open() doesn't leave a corrupted file around after failing (bsc#1198114)
  fe928f3d49 fs-util: make sure openat_report_new() initializes return param also on shortcut
  3881af1806 fs-util: fix typos in comments
  96060b73ba journal-file: port journal_file_open() to openat_report_new()
  611d9955bb fs-util: add openat_report_new() wrapper around openat()
  f16edb41d4 network: ignore all errors in loading .network files (bsc#1197968)
  5422730a7b meson: build kernel-install man page when necessary
  45c627cfc2 build: include status of TPM2 in the feature string show by --version
- Drop 0001-meson-build-kernel-install-man-page-when-necessary.patch
  It's been merged in the SUSE git repo.
  This includes the following bug fixes:
    - upstream commit 34357545590d4791d1acbbeb07ae8f7636e187cb (bsc#1198093)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1274
2022-04-06 10:14:30 +00:00
Franck Bui
1f48469eca - spec: define %bootstrap with %bcond_with so it can be used with %when. Also
re-order the meson options a bit.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1273
2022-04-04 11:51:23 +00:00
Franck Bui
3ee12b2060 - spec: make sure /lib exists when installing conf files in /lib/modprobe.d
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1272
2022-04-04 08:50:14 +00:00
Franck Bui
b56bec68ae - Temporarily disable 'libcryptsetup plugins until dracut 056 is merged in
Factory

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1271
2022-03-31 12:04:43 +00:00
Franck Bui
99be1a96ab - Add 0001-meson-build-kernel-install-man-page-when-necessary.patch
Submitted to upstream: https://github.com/systemd/systemd/pull/22918

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1270
2022-03-31 11:23:51 +00:00
Franck Bui
0e908cb81d - Move systemd-boot and all components managing (secure) UEFI boot into udev
sub-package: they may deserve a dedicated sub-package in the future but for
  now move them to udev so they aren't installed in systemd based containers.
- Move a bunch of components operating on (mainly block) devices into udev as
  without udev they're most likely useless.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1268
2022-03-29 09:34:07 +00:00
Franck Bui
ebd76c90ca - spec: enable 'efi' support regardless of whether sd_boot is enabled or not
We should support EFI systems even if systemd-boot is not enabled.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1267
2022-03-28 19:03:59 +00:00
Franck Bui
dad72be052 - spec: cope with %{_modprobedir} being /lib/modprobe.d on SLE
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1266
2022-03-23 15:18:40 +00:00
Franck Bui
220b74987d - Add 1000-Revert-getty-Pass-tty-to-use-by-agetty-via-stdin.patch
A temporary workaround until bsc#1197178 is resolved.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1265
2022-03-17 10:43:43 +00:00
Franck Bui
2cfc8d295a x- Import commit 8ef8dfd5401ba18caec59e54a05af9f2e0d7ac65 (merge of v250.4)
For a complete list of changes, visit:
  ca89b1d1fd...8ef8dfd540

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1264
2022-03-16 21:35:12 +00:00
Franck Bui
969e2e2f12 - Import commit ca89b1d1fd1ae86cc1e763d2d01ec2806f3a4d3a
37b683c832 journal: preserve acls when rotating user journals with NOCOW attribute set
  d043fabebc journal: when copying journal file to undo NOCOW flag, go via fd
  78c2766689 journal-file: explicitly handle file systems that do not support hole punching
  7ecfb4b098 journal-file: fix error handling of pread() in journald_file_punch_holes()
  c4946a412c journal-file: don't use pread() when determining where to append, use mmap as before
  d3fbd20628 journal: various fixes to journal_file_read_object()
  5897a8e8d4 shared: Handle filesystems that don't support hole punching in COPY_HOLES
  27746408e2 journal: Truncate file instead of punching hole in final object
  59b6130030 shared: Ensure COPY_HOLES copies trailing holes
  ac9ccba73f journal: stat journal file after truncating
  0257283444 journal: Copy holes when archiving BTRFS journal files
  26c2a9952d shared: Copy holes in sparse files in copy_bytes_full()
  6c7191dece copy: fix wrong argument passed to S_ISREG() in copy_file_fd_full()
  af0a43024d udev: 60-persistent-storage-tape.rules: handle duplicate device ID (bsc#1195529)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1263
2022-03-16 20:46:20 +00:00
Franck Bui
911e258670 - systemd.spec: minor simplification by assuming that %{bootstrap} is always
defined.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1261
2022-03-08 19:07:58 +00:00
Franck Bui
1799aac7b4 - Make sure to create 'systemd-coredump' system user when systemd-coredump is
installed (follow-up for the split of the sysusers config files).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1260
2022-03-08 17:51:21 +00:00
Franck Bui
b5a7c33cb8 - Upgrade to v250.3 (commit dbd8bd2b9fd827ca89ed18034b60703c95798e01)
See https://github.com/openSUSE/systemd/blob/SUSE/v250/NEWS for
  details. 
  * Rebased 0001-conf-parser-introduce-early-drop-ins.patch
            0001-restore-var-run-and-var-lock-bind-mount-if-they-aren.patch
- Dropped 0007-networkd-make-network.service-an-alias-of-systemd-ne.patch
  The alias makes little sense as soon as multiple network managers are used in
  parallel.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1259
2022-03-08 17:37:10 +00:00
Franck Bui
e7d1762f09 - Fix a regression caused by the split of the sysusers config files shipped by
systemd (bsc#1196322)
  Calls to %sysusers_create were not updated accordingly.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1257
2022-02-24 13:44:24 +00:00
Franck Bui
f04702fd11 - spec: fix dependencies for mini variants (follow-up)
systemd-mini-container is one of the sub-package that relies systemd-mini to
  conflict with kiwi and to not be installed on real systems.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1256
2022-02-23 17:47:50 +00:00
Franck Bui
5ed284e333 - Import commit 0bb1977021be2fc9ebfae10d766dff0b1a457f88 (merge of v249.10)
For a complete list of changes, visit:
  b9b83c5d11...0bb1977021

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1255
2022-02-22 15:30:37 +00:00