Commit Graph

1747 Commits

Author SHA256 Message Date
Dominique Leuenberger
c5f6829126 Accepting request 1041834 from Base:System
- Import commit bf3fef99886bd977a1c7a51d20087bc8977fff44
  6372fb0cc4 btrfs-util: convert O_PATH if necessary, in btrfs quota call (bsc#1205560)
  12e68eb0e5 blockdev-util: move O_PATH fd conversion into btrfs_get_block_device_fd() to shorten things
  bb2bafdc9d btrfs-util: convert to fd_reopen_condition()
  1323232948 fd-util: add new helper fd_reopen_conditional()
- Drop 6000-Revert-tmpfiles-whenever-creating-an-inode-immediate.patch
  It's no more needed as a fix for bsc#1205560 has been queued, see above.

- Import commit 82898a14f5b0a965ba9c1efc1913fcdf29d446a8 (merge of v252.3)
  It includes the following fixes:
    9410eb20eb cryptsetup: retry TPM2 unseal operation if it fails with TPM2_RC_PCR_CHANGED (bsc#1204944)
  For a complete list of changes, visit:
  e7e931b07e...82898a14f5
  Additionally, it also includes the following backports:
  - 17b2f9f196 utmp-wtmp: fix error in case isatty() fails
  - 8d5c487c87 sd-bus: handle -EINTR return from bus_poll() (bsc#1201982)
  - 2dd217c8b5 tree-wide: modernizations with RET_NERRNO()

OBS-URL: https://build.opensuse.org/request/show/1041834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=374
2022-12-10 20:17:36 +00:00
Franck Bui
a8691e9d39 document that bsc#1204944 has been fixed during the merge of v252.3
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1335
2022-12-09 08:59:00 +00:00
Franck Bui
409caf911b - Import commit bf3fef99886bd977a1c7a51d20087bc8977fff44
6372fb0cc4 btrfs-util: convert O_PATH if necessary, in btrfs quota call (bsc#1205560)
  12e68eb0e5 blockdev-util: move O_PATH fd conversion into btrfs_get_block_device_fd() to shorten things
  bb2bafdc9d btrfs-util: convert to fd_reopen_condition()
  1323232948 fd-util: add new helper fd_reopen_conditional()
- Drop 6000-Revert-tmpfiles-whenever-creating-an-inode-immediate.patch
  It's no more needed as a fix for bsc#1205560 has been queued, see above.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1334
2022-12-09 08:42:43 +00:00
Franck Bui
53e91c8dcd - Import commit 82898a14f5b0a965ba9c1efc1913fcdf29d446a8 (merge of v252.3)
For a complete list of changes, visit:
  e7e931b07e...82898a14f5
  Additionally, it also includes the following backports:
  - 17b2f9f196 utmp-wtmp: fix error in case isatty() fails
  - 8d5c487c87 sd-bus: handle -EINTR return from bus_poll() (bsc#1201982)
  - 2dd217c8b5 tree-wide: modernizations with RET_NERRNO()

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1333
2022-12-09 08:02:50 +00:00
Dominique Leuenberger
5e6ec439fd Accepting request 1040361 from Base:System
- Don't ship symlink /usr/lib/environment.d/99-environment.conf
  anymore. /etc/environment is owned and parsed (among other config files) by
  pam_env(8), which is included by 'systemd-user' PAM service anyway.

OBS-URL: https://build.opensuse.org/request/show/1040361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=373
2022-12-06 13:22:42 +00:00
Franck Bui
593c7fc59d - Don't ship symlink /usr/lib/environment.d/99-environment.conf
anymore. /etc/environment is owned and parsed (among other config files) by
  pam_env(8), which is included by 'systemd-user' PAM service anyway.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1332
2022-12-02 14:11:46 +00:00
Dominique Leuenberger
1363a5099a Accepting request 1038709 from Base:System
- 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/request/show/1038709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=372
2022-11-29 09:52:27 +00:00
Franck Bui
5f2746d0b4 - 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
Dominique Leuenberger
f0e9c5d33d Accepting request 1037909 from Base:System
- 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 6000-meson-install-test-kernel-install-only-when-Dkernel-.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/request/show/1037909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=371
2022-11-25 12:11:28 +00:00
Franck Bui
cf1b8a4f33 Fix the name of the patch, which was supposed to be dropped in the changelog during the merge of v252.1
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1330
2022-11-24 13:40:51 +00:00
Franck Bui
639daba392 - 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
Dominique Leuenberger
0e88956e21 Accepting request 1036605 from Base:System
- Reenable build of sd_boot, it was mistakenly disabled during the integration
  of v252.

OBS-URL: https://build.opensuse.org/request/show/1036605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=370
2022-11-19 17:08:44 +00:00
Franck Bui
0640fcf7d4 - Reenable build of sd_boot, it was mistakenly disabled during the integration
of v252.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1328
2022-11-18 08:08:45 +00:00
Franck Bui
b420559c6e 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
Dominique Leuenberger
056cc9978b Accepting request 1036151 from Base:System
- 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.
  * Add temporarly
    6000-meson-install-test-kernel-install-only-when-Dkernel-.patch until this
    patch is mainstreamed.

OBS-URL: https://build.opensuse.org/request/show/1036151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=369
2022-11-17 16:23:33 +00:00
Franck Bui
01bb6005e2 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
518d9b73f4 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
ade4d21a72 fix build of mini flavor
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1324
2022-11-14 13:33:04 +00:00
Franck Bui
1b440da1e7 - 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
Dominique Leuenberger
8990044b9e Accepting request 1034593 from Base:System
- Import commit 9cdd78585069b133bebcd479f3a204057ad25d76 (merge of v251.8)
  For a complete list of changes, visit:
  c212388f7d...9cdd785850

OBS-URL: https://build.opensuse.org/request/show/1034593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=368
2022-11-10 13:21:14 +00:00
Franck Bui
133dde32cf - 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
Dominique Leuenberger
0dd03357df Accepting request 1031048 from Base:System
- Import commit c212388f7de8d22a3f7c22b19553548ccc0cdd15 (merge of v251.7)
  For a complete list of changes, visit:
  f78bba8d03...c212388f7d

- specfile: reindent comments

OBS-URL: https://build.opensuse.org/request/show/1031048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=367
2022-10-27 11:53:27 +00:00
Franck Bui
132f2786a0 - 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
5fd8886539 - 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
Dominique Leuenberger
1df54113fb Accepting request 1030349 from Base:System
- 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
  

- 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.

- Avoid expanding of macro in comment which leads to an error on installation
  (workaround for bsc#1203847)

OBS-URL: https://build.opensuse.org/request/show/1030349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=366
2022-10-22 12:12:42 +00:00
Franck Bui
d04fc1967b - 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
7e9a47a630 - 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
7d1ef01b92 previous change is a workaround for bsc#1203847, mention it in the .changes file
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1317
2022-10-13 07:48:02 +00:00
Franck Bui
bfc64db98e 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
Richard Brown
5c721d97d3 Accepting request 1007837 from Base:System
- Import commit 07aa29e3942fb46b0aed5405c88e8d3179ca958f (merge of v251.5)
  For a complete list of changes, visit:
  532faa39eb...07aa29e394

OBS-URL: https://build.opensuse.org/request/show/1007837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=365
2022-10-07 23:22:40 +00:00
Franck Bui
e71654912d - 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
Dominique Leuenberger
9bebcb6d0c Accepting request 1005162 from Base:System
- 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.

- Move nss-systemd and nss-myhostname NSS modules into the main package

- 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/request/show/1005162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=364
2022-09-22 12:49:16 +00:00
Franck Bui
1fdf4c261e - 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
a0873f1871 - 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
713f9ebffa - 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
Dominique Leuenberger
f9807704c1 Accepting request 1002990 from Base:System
- rc-local.service.8 belongs to the systemd-sysvcompat sub-package (bsc#1203053)

- 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.

- Let systemd trust the RTC for 30 years after the last update 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/1002990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=363
2022-09-13 13:07:51 +00:00
Franck Bui
533ed70a2f also uncomment %{_libdir}/cryptsetup in files.udev
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1311
2022-09-12 09:17:16 +00:00
Franck Bui
6767078e06 fix listing of libcryptsetup-plugins files in files.udev
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1310
2022-09-12 07:39:26 +00:00
Franck Bui
1db434c868 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
2d029247ee - rc-local.service.8 belongs to the systemd-sysvcompat sub-package (bsc#1203053)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1308
2022-09-05 06:57:58 +00:00
Franck Bui
fed8c6ba7d - Let systemd trust the RTC for 30 years after the last update 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/package/show/Base:System/systemd?expand=0&rev=1307
2022-08-29 08:14:55 +00:00
Franck Bui
9a5be6c085 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
Dominique Leuenberger
004f3b60d4 Accepting request 997974 from Base:System
- Import commit 532faa39ebaa6f56e493cc938a91a40df082b74f (merge of v251.4)
  It includes the following fixes:
  - 739d7130cb home: drop conflicted headers (bsc#1202221)
  - 8fe0c12178 glibc: Remove #include <linux/fs.h> to resolve fsconfig_command/mount_attr conflict with glibc 2.36 (bsc#1202221)
  - 0c5b7ee318 udev: allow to execute longer command line (bsc#1201766)
  For a complete list of changes, visit:
  8cd784e925...532faa39eb
- Drop 1001-statx.patch, it's no more needed.

- Add patch 1001-statx.patch based on commit 3657d3a0
  * to resolve conflicts with glibc 2.36 with <linux/fs.h>
  * add dirty hack to get in src/basic/chattr-util.h,
    src/home/homework.h, src/home/homework-fscrypt.c,
    src/home/homed-manager.c, and src/home/homework-mount.c as well
    to avoid that <linux/fs.h> does include <linux/mount.h>

- Enable oomd (bsc#1200456)
  It's part of the experimental sub-package for now.

- Import commit 8cd784e9250b38d20d8e14fccbfb211010283c79 (merge of v251.3)
  For a complete list of changes, visit:
  3291287906...8cd784e925

- Import commit 32912879062bb1595d8498b6f9c77d5acd1dc66a
  111b96ca86 logind: don't delay login for root even if systemd-user-sessions.service is not activated yet (bsc#1195059)

- Enable bpf framework

- When systemd-container is installed install tar/gpg too
  So `machinectl import-tar` always works flawlessly. systemd-container already

OBS-URL: https://build.opensuse.org/request/show/997974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=362
2022-08-20 18:28:06 +00:00
Franck Bui
5ef5a26c4d 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
d1c209b23b Add reference to bsc#1201766 in the changelogs
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1304
2022-08-18 09:29:25 +00:00
Franck Bui
7e306f4f89 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
35f4443993 - 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
ad55fe6b21 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
127267652e - 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
3afc4cd3df - 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