Commit Graph

949 Commits

Author SHA256 Message Date
Franck Bui
dc779011b8 - Import commit e7e931b07edd786dc6ca1dae6c23ff7b785f8efd (merge of v252.2)
For a complete list of changes, visit:
  64dc546913...e7e931b07e
- Rebase 6000-Revert-tmpfiles-whenever-creating-an-inode-immediate.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1331
2022-11-28 08:47:58 +00:00
Franck Bui
72ca277d4a - Import commit 3bd3e4e6c1efe0d6df776107efde47e15e58fe96
d28e81d65c test: fix the default timeout values described in README.testsuite
  d921c83f53 meson: install test-kernel-install only when -Dkernel-install=true
  c3b6c4b584 tests: update install_suse_systemd()
  3c77335b19 tests: install dmi-sysfs module on openSUSE
  df632130cd tests: install systemd-resolved on openSUSE
- Add 6000-Revert-tmpfiles-whenever-creating-an-inode-immediate.patch until
  upstream issue #25468 is fixed.
- Drop 0001-meson-build-kernel-install-man-page-when-necessary.patch, the patch
  has been merged in the SUSE git repo.
  This includes the following bug fixes:
   - upstream commit 67c3e1f63a5221b47a8fea85ae421671f29f3b7e (bsc#1200723)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1329
2022-11-22 14:51:55 +00:00
Franck Bui
13b308a6df fix previous commit and reenable sd_boot on regular builds
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1327
2022-11-17 21:09:00 +00:00
Franck Bui
b0db4bbec3 fix build on s390x where sd_boot=false
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1326
2022-11-15 09:34:37 +00:00
Franck Bui
73a2dc9b07 Add temporarly 6000-meson-install-test-kernel-install-only-when-Dkernel-.patch until this patch is mainstreamed.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1325
2022-11-15 08:31:18 +00:00
Franck Bui
edf15499c7 - Upgrade to v252.1 (commit 64dc546913525e33e734500055a62ed0e963c227)
See https://github.com/openSUSE/systemd/blob/SUSE/v252/NEWS for details.
  * Rebased 0001-conf-parser-introduce-early-drop-ins.patch
            1000-Revert-getty-Pass-tty-to-use-by-agetty-via-stdin.patch
  * The new tools systemd-measure and systemd-pcrphase have been added to the
    experimental sub-package for now.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1323
2022-11-14 11:30:28 +00:00
Franck Bui
07468b1c91 - Import commit 9cdd78585069b133bebcd479f3a204057ad25d76 (merge of v251.8)
For a complete list of changes, visit:
  c212388f7d...9cdd785850

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1322
2022-11-08 16:55:14 +00:00
Franck Bui
e9ef70bfaa - Import commit c212388f7de8d22a3f7c22b19553548ccc0cdd15 (merge of v251.7)
For a complete list of changes, visit:
  f78bba8d03...c212388f7d

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1321
2022-10-25 07:42:40 +00:00
Franck Bui
0a7652deea - specfile: reindent comments
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1320
2022-10-25 07:13:51 +00:00
Franck Bui
71e2855fe7 - Import commit f78bba8d037cc26c09bbdd167625b2d7fe1f5a30 (merge of v251.6)
Beside the merge of v251.6, it also includes the following backport:
  - 07aaa898bd pstore: do not try to load all known pstore modules
  For a complete list of changes, visit:
  07aa29e394...f78bba8d03

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1319
2022-10-21 09:30:18 +00:00
Franck Bui
0d0108d9e4 - Don't create /var/lib/systemd/random-seed in %post (bsc#1181458)
To make sure that the same seed is not replicated when installing from a
  'golden' image.
  For regular installations the random seed file is initialized by the installer
  itself (bsc#1174964). Even if it didn't, the random seed file would be created
  on first boot anyway.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1318
2022-10-20 14:06:35 +00:00
Franck Bui
53e28f31e7 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
e860259280 - 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
2fe28ddd4c - 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
4d56555171 - 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
1e7e73cc58 - 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
06c1b8f530 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
2524882ae4 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
852c5594ab 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
55d07cad54 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
c07fb831d0 - 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
a41649fcae 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
a4d73bb0d7 - 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
4871b050a8 - 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
42c275727f - 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
2f464ee38b - 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
403245d59e - 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
1501a15f13 - 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
3ebb9b18d1 - 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
406c87cbb2 - 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
77230b8187 - 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
1276c11c0e - 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
d477e042ee 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
4446e597e7 - 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
2c66385aad - 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
e485dcda41 - 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
835e19ad7a 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
b84cd4874b 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
a57ffa564e - 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
3511584db0 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
025b31118d - 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
64ab92aaa3 - 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
72787132db 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
aab6381967 - 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
7c6583d0b1 - 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
a85433a9e1 - 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
53e5c06ed6 - 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
017857923e - 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
f652afe40d - 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
d89fa95bb5 - 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
1b99200302 - 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
dfb36b4789 - 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
dacabccd5e - 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
5a4d26718e 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
05a7a7037a - 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
cd47fc1e77 - 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
b9db76e52c - 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
88384e841c - 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
5aaa5fa494 - 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
d84d933b2a - 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
7559fb23ed - 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
Franck Bui
7bf2ab82ef - Import commit b9b83c5d11e686178ddd545862a00b33c6fdfabb
8973cb2462 systemd-coredump: allow setting external core size to infinity (bsc#1195899 jsc#SLE-23866)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1254
2022-02-22 14:54:05 +00:00
Franck Bui
c9bcb8389f Accepting request 956704 from home:favogt:branches:Base:System
- Fix build if %_distconfdir is not defined (see bsc#1195679)

OBS-URL: https://build.opensuse.org/request/show/956704
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1253
2022-02-22 14:05:17 +00:00
Franck Bui
6783e1ee16 - Drop enablement symlink migration support of SysV init scripts
And let's finish reducing the support of SysV init scripts to its minimum.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1252
2022-02-18 08:11:02 +00:00
Franck Bui
b5692d6451 - spec: fix dependencies for mini variants
Make sure that all mini variants won't be installed in real systems and won't
  be involved when building medias with kiwi. Note that sub-packages that
  requires systemd (such as udev) don't need any special treatment since the
  specific deps are inherited from the main (mini) package.
- spec: simplify systemd-mini-doc dependencies by assuming that the doc
  sub-package can't be a build requirement for other packages.
- spec: libsystemd-mini and libudev-mini need to provide libsystemd and libudev
  respectively

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1251
2022-02-14 15:52:52 +00:00
Franck Bui
f2d71b7013 - Rename systemd-sysvinit into systemd-sysvcompat
systemd-sysvinit was probably provided to allow systems to switch from
  sysvinit to systemd by overwriting /sbin/init with a link to systemd. But this
  isn't very useful anymore due to the fact that sysvinit is not supported since
  several years. Therefore the subpackage contains now the files needed to keep
  backward compatibility with SysV init scripts (most notably sysv-generator)
  and has been renamed accordingly. The few files that are not specific to
  sysvinit (such as /bin/init) have been moved to the main package.
  Normally this new subpackage shouldn't be needed (since all packages use
  systemd unit files) unless a 3rd party application is installed and still
  relies on SysV init scripts.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1250
2022-02-14 09:09:21 +00:00
Franck Bui
63eed8bad7 fix build of mini falvor by allowing a second parameter with %when
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1249
2022-02-14 08:51:10 +00:00
Franck Bui
a594bb28c9 - systemd.spec: explicitely turn on/off build options
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1248
2022-02-14 07:34:49 +00:00
Franck Bui
ddfc9c73ea systemd-mini-doc should conflict with systemd-doc
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1244
2022-02-02 08:56:03 +00:00
Franck Bui
2d8a732834 - Installation of libnss_mymachines.so depended on %{bootstrap} but it is
actually installed when %{with machined} is true.
- Call ldconfig when container subpackage is installed since it ships
  nss-mymachines NSS plug-in module.
- Drop 0006-sysv-generator-add-back-support-for-SysV-scripts-for.patch
       0009-sysv-add-back-support-for-all-virtual-facility-and-f.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1243
2022-02-01 09:21:17 +00:00
Franck Bui
74c4bad533 - Import commit 117bd7f14aa7834d85a4306cd380d292bec04108
1395c74be7 udevadm: cleanup-db: don't delete information for kept db entries (bsc#1194912)
  bbafc8092a udevadm: cleanup_dir: use dot_or_dot_dot()

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1242
2022-01-31 15:56:09 +00:00
Franck Bui
acd6970dd2 - Drop 0006-sysv-generator-add-back-support-for-SysV-scripts-for.patch 0009-sysv-add-back-support-for-all-virtual-facility-and-f.patch
Given the fact that Factory no more ship SysV init scripts since several
  months, only scripts coming from 3rd party applications should remain which
  are unlikely to rely on the SUSE specifities implemented by these
  patches. This change was announced on the Factory mailing list:
  https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/3ERUP5ZZJ6PPA36L3HVN46BH6U6JL74O/

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1241
2022-01-31 15:05:15 +00:00
Franck Bui
ba0a8a2e06 - Import commit 885e0b9126bd2cf1e3f6b147c45ec58a5550c75c
41334be59e meson: minor cleanup
  3db0c28462 sysusers: split up systemd.conf
- Drop 0012-resolved-create-etc-resolv.conf-symlink-at-runtime.patch (bsc#1195153)
  Since v241, the patch isn't useful anymore because resolved is no more able to
  create /etc/resolv.conf symlink by itself,it runs as 'systemd-resolve'
  user. The symlink is now handled by a tmpfiles config file which is only
  installed when systemd-resolved is. The tmpfiles config file has currently a
  lower priority than the one shipped by netconfig.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1240
2022-01-31 14:13:33 +00:00
Franck Bui
804c85b78b - Make use of %ldconfig_scriptlets
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1239
2022-01-31 10:21:19 +00:00
Franck Bui
001075c349 - Merge nss-resolved and nss-mymachines NSS plug-in modules into systemd-network
and systemd-container respectively.
  These modules are plug-in modules hence the shared library packaging policy
  doesn't apply for them. Moreover they're pretty useless alone without their
  respective systemd services, Hence let's reduce the number of sub-packages as
  the list keeps increasing.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1238
2022-01-31 10:16:32 +00:00
Franck Bui
7dad653597 - Merge libudev-devel into systemd-devel
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1236
2022-01-27 16:09:21 +00:00
Franck Bui
9c31af3442 - Make sure that libopenssl-devel is installed when building resolved. Openssl
was implictly pulled in by systemd-experimental subpackage but could be
  missing if the build of this subpackage was disabled.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1235
2022-01-27 07:49:42 +00:00
Franck Bui
15e1d7f40a - resolved: disable fallback DNS servers and fail when no DNS server info could
be obtained from the links. It's better to let the sysadmin know that
  something is likely misconfigured rather than silently handing over the DNS
  queries to Google or Cloudflare.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1234
2022-01-26 17:34:15 +00:00
Franck Bui
cfeb3c3b76 - resolved: disable DNSSEC until the following issue is solved:
https://github.com/systemd/systemd/issues/10579
- Replace '%setup+%autopatch' with '%autosetup'

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1232
2022-01-26 15:32:02 +00:00
Franck Bui
32a8e2c929 - systemd.spec: explicitely list all files for each main (sub) packages
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1231
2022-01-26 14:18:47 +00:00
Franck Bui
b041abe735 fix previous commit
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1230
2022-01-21 08:37:58 +00:00
Franck Bui
f3931404b4 - Move the whole content of /usr/share/doc/packages/systemd in doc subpackage
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1229
2022-01-20 08:31:23 +00:00
Franck Bui
2250463d0b - Move the systemd-network-generator stuff in udev package
This generator can generate .link files and is mainly used in initrd where
  udev is mandatory.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1228
2022-01-19 14:30:23 +00:00
Franck Bui
826224f2fe - Restore /sbin/udevadm and /bin/systemctl (obsolete) paths when split_usr is
true (bsc#1194519)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1227
2022-01-18 20:40:06 +00:00
Franck Bui
4bb2638e09 - Import commit 3743acbce3bd44208af453fc6dc384a1236dc83c (merge of v249.9)
For a complete list of changes, visit:
  e2ca79dd77...3743acbce3

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1226
2022-01-17 09:18:38 +00:00
Franck Bui
3cdb8a58ee Revert the drop of 0009-pid1-handle-console-specificities-weirdness-for-s390.patch: s390 is supported on Factory/TW
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1224
2022-01-17 08:45:49 +00:00
Franck Bui
7c0ea3c49f - Drop 0009-pid1-handle-console-specificities-weirdness-for-s390.patch, it's SLE
material.
- Extract bits from 0008-sysv-generator-translate-Required-Start-into-a-Wants.patch
  which are not specific to the handling of 'Required-Start:' and move them into a
  new patch 1010-sysv-add-back-support-for-all-virtual-facility-and-f.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1222
2022-01-14 15:14:43 +00:00
Franck Bui
827a883530 - Import commit e2ca79dd775d1f7d39861d57f23c43f6cd85a872 (merge of v249.8)
For a complete list of changes, visit:
  458220239c...e2ca79dd77
- Drop the following patches as they have been merged into SUSE/v249 branch:
  5000-shared-rm_rf-refactor-rm_rf_children_inner-to-shorte.patch
  5001-shared-rm_rf-refactor-rm_rf-to-shorten-code-a-bit.patch
  5002-shared-rm-rf-loop-over-nested-directories-instead-of.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1221
2022-01-13 22:00:43 +00:00
Franck Bui
aaaaae32fc - Import commit 458220239c69b8e5fe7be480929348daeccb70d1
e95df40b09 shared/rm-rf: loop over nested directories instead of instead of recursing (CVE-2021-3997 bsc#1194178)
  078e04305d shared/rm_rf: refactor rm_rf() to shorten code a bit
  6d560d0aca shared/rm_rf: refactor rm_rf_children_inner() to shorten code a bit
  6666ff056c localectl: don't omit keymaps files that are symlinks (bsc#1191826)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1220
2022-01-13 20:57:06 +00:00
Franck Bui
0df2fcc5bc - Added patches to fix CVE-2021-3997 (bsc#1194178)
5000-shared-rm_rf-refactor-rm_rf_children_inner-to-shorte.patch
  5001-shared-rm_rf-refactor-rm_rf-to-shorten-code-a-bit.patch
  5002-shared-rm-rf-loop-over-nested-directories-instead-of.patch
  These patches will be dropped and cherry-picked from upstream once upstream
  will commit them in their main branch.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1219
2022-01-11 08:08:34 +00:00
Franck Bui
0acc92304c - Import commit a54f80116ccf105dff11aef5d18dd110ebd3e8ee
30cbebc56f tmpfiles: 'st' may have been used uninitialized
  5443654ec0 macro: add new helper RET_NERRNO()
  8d90ecc435 rm-rf: optionally fsync() after removing directory tree
  591344010d rm-rf: refactor rm_rf_children(), split out body of directory iteration loop
  8c7762c4f1 Bump the max number of inodes for /dev to a million (bsc#1192858)
  dc9476c881 journal: don't remove the flushed flag when journald is stopped
  29efc29efd TEST-10: don't attempt to write a byte to the socket
  773fb785b6 Bump the max number of inodes for /dev to 128k (bsc#1192858)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1218
2022-01-06 14:35:57 +00:00
Franck Bui
23183f8142 - Update systemd-user PAM service again
Change the default implementation of pam_setcred() again, previously
  customized to run the full "auth" PAM stack and only call pam_deny.so which is
  basically the SUSE default behavior without pam_warn.so.
  This is considered safer, especially on SLE where a regression was spotted by
  QA.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1217
2022-01-04 08:30:42 +00:00
Franck Bui
e4d7d9c37e Accepting request 936250 from home:lnussel:branches:Base:System
- move files related to static nodes to udev

OBS-URL: https://build.opensuse.org/request/show/936250
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1216
2021-12-07 19:29:40 +00:00
Franck Bui
fcab2530da Accepting request 933656 from home:lnussel:branches:Base:System
- Replace S:$n references with SOURCE$n. Makes vim * search work.

OBS-URL: https://build.opensuse.org/request/show/933656
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1215
2021-11-25 10:00:18 +00:00
Franck Bui
cd04c0c945 - Import commit 523f32df573d459551760b072cb62906f4a2cf23 (merge of 249.7)
For a complete list of changes, visit:
  c34c987126...523f32df57
- Import commit c34c98712600bc206919ec6ed136195f75ac1967
  f99aa40c6e TEST-12: make sure 'adm' group exist
  6c7194ff99 TEST-08: don't force ext4 for /
  dd1814b8f9 test: use kbd-mode-map we ship in one more test case
  94c5febf2a test: fix TEST-10-ISSUE-2467

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1213
2021-11-22 09:12:53 +00:00
Franck Bui
becca96c1b - Update the dependencies of the systemd-testsuite sub-package.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1212
2021-11-22 08:47:06 +00:00
Franck Bui
8112355882 - Import commit 61c79e68381801428c0bc00a56b9e2e9cfa68373 (merge of 249.6)
bcdeee7b4c virt: Support detection for ARM64 Hyper-V guests (bsc#1186071)
  [...]
  For a complete list of changes, visit:
  8521f8d22f...61c79e6838
- Drop 0001-Revert-core-Check-unit-start-rate-limiting-earlier.patch
  It's part of v249.6.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1211
2021-11-15 10:34:05 +00:00
Franck Bui
7fe9c250f7 - Add 0001-Revert-core-Check-unit-start-rate-limiting-earlier.patch
Temporarly revert commit ed8fbbf1745c6a2dc0b8cd560ac8a3353f72e979
  until the regression it introduced [1] is addressed by upstream and
  a fix is released via the stable tree.
  [1] https://github.com/systemd/systemd/issues/21025

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1210
2021-11-02 10:36:41 +00:00
Franck Bui
ddcf5747b1 - Disable nss-systemd and translations features for the mini flavour
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1208
2021-10-19 14:42:56 +00:00
Franck Bui
1c626a091d - Really enable libiptc for masquerading support (bsc#1191651)
Currently used by systemd-nspawn and systemd-networkd.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1207
2021-10-18 19:42:41 +00:00