Commit Graph

988 Commits

Author SHA256 Message Date
Franck Bui
3a62d26460 - kbd-model-map.legacy: 'arabic' vc keymap has been renamed 'ara' (bsc#1210702)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1375
2023-04-27 09:05:16 +00:00
Franck Bui
aa93346d87 Accepting request 1080373 from home:lnussel:branches:Base:System
- add some green to systemd-boot menu

OBS-URL: https://build.opensuse.org/request/show/1080373
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1373
2023-04-20 06:18:00 +00:00
Franck Bui
744d2d0da4 Accepting request 1080107 from home:mvidner:branches:Base:System
- kbd-model-map.legacy: drop some entries no longer needed
  by YaST (related to bsc#1194609)

OBS-URL: https://build.opensuse.org/request/show/1080107
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1372
2023-04-18 10:20:50 +00:00
Franck Bui
31eeef68eb Accepting request 1078596 from home:kukuk:branches:Base:System
- tmpfiles-suse.conf (jsc#PED-3144):
  - Remove lastlog entry, replaced by lastlog2
  - Remove btmp entry, not Y2038 safe

OBS-URL: https://build.opensuse.org/request/show/1078596
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1371
2023-04-14 07:58:47 +00:00
Franck Bui
c83606b75b - testsuite: TEST-75-RESOLVED needs knot DNS server
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1370
2023-04-05 08:22:16 +00:00
Franck Bui
d290fac338 - Import commit 66f3a8a47d5bf6aea3f6fb181c01550a1a54406e (merge of v253.3)
This merge also includes the following fix, which is not part of the stable
  release:
    d2413cec02 test/test-functions: fix typo in install_suse_systemd()
  For a complete list of changes, visit:
  03cfbe7673...66f3a8a47d

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1369
2023-04-05 07:45:22 +00:00
Franck Bui
f041cbb042 - Import commit 03cfbe767327d01d5a71131d91bf06fdc0047ca1
03cfbe7673 test: use setpriv instead of su for user switch from root
  857843834c test: wrap mkfs.*/mksquashfs/mkswap binaries when running w/ ASan
  be7388f8c5 test: do not remove state directory on failure
  1b2885bd16 test: fix regexp in testsuite-74.mount.sh
  41142f8013 test: drop extraneous bracket in testsuite-74.mount.sh

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1368
2023-04-03 09:38:08 +00:00
Franck Bui
3c3a2dd9fd - systemd.spec: add files.coredump
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1367
2023-04-03 09:21:41 +00:00
Franck Bui
8abd12f19f - Import commit b63f58661b08037d8cb04ed97b5e39d9bf415fdc (merge of v253.2)
For a complete list of changes, visit:
  8b01686dd2...b63f58661b
- Move systemd-fsck stuff to udev sub-package.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1366
2023-03-31 15:15:32 +00:00
Franck Bui
ddeadd32b5 - Include pam_keyinit.so in our systemd-user PAM service (bsc#1209741)
That way "systemd --user" instances get their own session keyring instead of
  the user default session keyring. For some reasons cifscreds refuses to work
  with the latter. That's what is expected for every PAM session anyway.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1365
2023-03-31 13:08:07 +00:00
Franck Bui
3be1a22ac0 - Import commit 8b01686dd20124efc300d21ef38d85c1f75c372f
8b01686dd2 test: don't export $TOOLS_DIR
  7a56b1b2f0 test: clean up $STATEDIR too
  324bb19eb8 test: $STATEDIR should not point to /usr/lib/systemd/tests when NO_BUILD=1
  2251735482 test: install symlinks with valid targets on SUSE and Debian
  c30905a269 test: on openSUSE install the collection of unit test binaries in the target only for TEST-02-UNITTESTS
  797ced15d8 meson: make sure the unit test scripts find testdata/ even if they are not installed in the same directory
  04dc5b44b7 meson: define testdata_dir globally
  69643c6c96 test: install unit tests in a dedicated subdirectory below '$testsdir'

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1364
2023-03-28 16:14:46 +00:00
Franck Bui
7dbc995aa4 - Import commit d914e29c33c0248226a01112a3e03181ef17b06b
d914e29c33 Revert "hwdb: fix swapped buttons for Logitech Lift left" (bsc#1209618)
  8360811d23 udev-rules: fix nvme symlink creation on namespace changes (bsc#1207410)
  b77c13a130 systemctl: explicitly cast the constants to uint64_t (bsc#1209305)
  51011f280d test: assume run-unit-tests.py and unit tests are installed in the same directory
  d86e346f6b tests: don't use absolute paths when installing binaries in TEST-58-REPART
  97e886c1f4 tests: fix inverted condition in testsuite-58.sh
- Drop 5002-systemctl-explicitly-cast-the-constants-to-uint64_t.patch, it's been
  merged in 'SUSE/v253', see above.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1363
2023-03-23 08:13:40 +00:00
Franck Bui
f31c8867f6 Accepting request 1073579 from home:vlefebvre:branches:Base:System
Add requires to pefile module python for the ukify tool on systemd-experimental

OBS-URL: https://build.opensuse.org/request/show/1073579
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1362
2023-03-21 15:38:07 +00:00
Franck Bui
360b92d4b9 - Drop 0005-udev-create-default-symlinks-for-primary-cd_dvd-driv.patch
These obsolete symlinks were kept because several years ago VLC was still
  relying on some of them. However it's been a long a time ago that it's been
  fixed and cdrom or similar devices are discovered in a better way.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1361
2023-03-20 08:37:06 +00:00
Franck Bui
4d62ea277a Accepting request 1073043 from home:aplanas:branches:Base:System
- Enable that systemd can load the IMA policy from
  /etc/ima/ima-policy.  This is used to complement dracut-ima when
  using SELinux, as the SELinux policy should not be loaded in the
  initrd (https://github.com/openSUSE/microos-tools/pull/14)

OBS-URL: https://build.opensuse.org/request/show/1073043
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1360
2023-03-20 08:20:36 +00:00
Franck Bui
a21586a25c - Add 5002-systemctl-explicitly-cast-the-constants-to-uint64_t.patch (bsc#1209305)
Added temporarily until it's merged in either the stable v253 branch or in the
  SUSE git repo.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1359
2023-03-16 07:35:14 +00:00
Franck Bui
5dbfb4cf1c - Add 5001-Revert-core-propagate-stop-too-if-restart-is-issued.patch until
https://github.com/systemd/systemd/issues/26839 is fixed properly.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1358
2023-03-16 07:30:09 +00:00
Franck Bui
02c43becf6 - testsuite: mtools is required by TEST-58-REPART
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1357
2023-03-16 07:28:34 +00:00
Franck Bui
d995e6cdee - swtpm and tpm2.0-tools are needed by TEST-70-TPM2
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1356
2023-03-13 17:13:34 +00:00
Franck Bui
748fa47407 - Add 5000-core-manager-run-generators-directly-when-we-are-in-.patch, a
temporary workaround until https://github.com/dracutdevs/dracut/issues/2211 is
  fixed in dracut.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1355
2023-03-09 10:39:10 +00:00
Franck Bui
7999a62fec - Upgrade to v253.1 (commit 6c327d74aa0d350482e82a247d7018559699798d)
See https://github.com/openSUSE/systemd/blob/SUSE/v253/NEWS for details.
  * Rebased 0001-conf-parser-introduce-early-drop-ins.patch
  * Ship systemd-journald-audit.socket again: it can now be disabled via the
    usual "systemctl disable" mechanism to stop collection of audit
    messages. Note that it's handled by the preset logic, which turns it off by
    default.
  * TEST_06_SELINUX needs selinux-policy-devel.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1352
2023-03-08 13:07:15 +00:00
Franck Bui
af9504ba66 - Import commit d447802feee7752cd1756f8fa86ce2a6314ba24f (merge of v252.7)
For a complete list of changes, visit:
  8e0a8094b8...d447802fee

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1351
2023-03-06 08:50:22 +00:00
Franck Bui
e5d1d780b3 Accepting request 1067366 from home:gmbr3:Active
- Correct BR from python3-jinja2 to python3-Jinja2, fixes
  dependency resolving on older distros

OBS-URL: https://build.opensuse.org/request/show/1067366
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1350
2023-02-28 15:53:20 +00:00
Franck Bui
24494639b9 Accepting request 1068086 from home:zhonglidong:branches:Base:System
- Fix return non-zero value when disabling SysVinit service(bsc#1208432)

OBS-URL: https://build.opensuse.org/request/show/1068086
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1349
2023-02-28 08:09:56 +00:00
Franck Bui
24e52e425a - Import commit 8e0a8094b8bbc442d262795b85ac57a37264c5fe (merge of v252.6)
For a complete list of changes, visit:
  d87834a334...8e0a8094b8
- Drop 5000-rules-add-missing-line-continuation.patch, it's part of v252.6.
- aaa_base has stop providing /etc/sysctl.conf, cope with this change so the
  compat symlink we provide is not dangling during the build.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1348
2023-02-27 14:53:36 +00:00
Franck Bui
54d3174387 - Drop build requirement on libpci, it's not more needed since udev hwdb was
introduced 11 years ago.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1347
2023-02-17 11:11:32 +00:00
Franck Bui
88b4e6df6b - Conditionalize the use of /lib/modprobe.d only on systems with split usr
support enabled (i.e. SLE).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1346
2023-02-07 08:56:44 +00:00
Franck Bui
377c7bacd6 - Import commit d87834a33444b7163e741e1089e82b44af663808 (merge of v252.5)
For a complete list of changes, visit:
  5a506d73bd...d87834a334

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1345
2023-01-30 08:42:28 +00:00
Franck Bui
4e598611b0 - Move the bash completion support for systemd-cryptenroll in udev.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1344
2023-01-26 16:32:16 +00:00
Franck Bui
e99a83ea89 - systemd-testsuite: move the integration tests in a dedicated sub directory.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1343
2023-01-26 16:14:53 +00:00
Franck Bui
f0a7e58765 - machines.target belongs to systemd-container, do its init/cleanup steps from
the scriptlets of this sub-package.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1342
2023-01-26 14:06:46 +00:00
Franck Bui
3e2385e269 - Drop 1000-Revert-getty-Pass-tty-to-use-by-agetty-via-stdin.patch
It's no more necessary since util-linux 2.38 has been released in Factory.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1341
2023-01-24 13:21:01 +00:00
Franck Bui
e9de6c37c5 - Make sure we apply the presets on units shipped by systemd package
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1340
2023-01-23 10:49:38 +00:00
Franck Bui
377cd3542c - Add 5000-rules-add-missing-line-continuation.patch until commit
de8409ac43f6e4596de4cecce8dbbb5f1f2a18b1 is backported to the v252 stable
  tree.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1339
2023-01-06 10:11:58 +00:00
Franck Bui
e72f2169d7 - Import commit 5a506d73bde7ba9261985f8e9ce084044a519432 (merge of v252.4)
It includes the following fixes:
    9b75a3d050 coredump: do not allow user to access coredumps with changed uid/gid/capabilities (bsc#1205000 CVE-2022-4415)
    
  For a complete list of changes, visit:
  bf3fef9988...5a506d73bd
  Additionally, it also includes the following backports:
  - 20ca3155c5 localed: reload PID1 configuration after modifying /etc/locale.conf
  - 3538c202fd test: update TEST-73-LOCALE to define several locale settings in initial PID1 environment
- Drop 5000-coredump-adjust-whitespace.patch
       5001-coredump-do-not-allow-user-to-access-coredumps-with-.patch
  They are part of v252.4.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1338
2022-12-21 15:33:47 +00:00
Franck Bui
e6f264a09a Fix previous patch names: the wrong ones were imported when I blindly copied and pasted the changelog entry from SP4 :-/
Add 5000-coredump-adjust-whitespace.patch
  Add 5001-coredump-do-not-allow-user-to-access-coredumps-with-.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1337
2022-12-20 08:18:07 +00:00
Franck Bui
27776f4108 - Fix systemd-coredump to not allow user to access coredumps with changed
uid/gid/capabilities (bsc#1205000 CVE-2022-4415)
  Add 5000-coredump-Fix-format-string-type-mismatch.patch
  Add 5001-coredump-drop-an-unused-variable.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1336
2022-12-20 07:23:19 +00:00
Franck Bui
60c667ee0a 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
6976c8263e - 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
e163d75d67 - 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
Franck Bui
713aa46e9f - 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
Franck Bui
1f43623a1c - 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
02a707acd0 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
599416243c - 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
6cfd6ce7fa - 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
02a4c18e89 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
e75ba31bf5 - 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
7fc46b492b - 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
7ee07b3f0d - 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
e596de2cc2 - 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