Commit Graph

2125 Commits

Author SHA256 Message Date
Ana Guerrero
8c025c3bdf Accepting request 1184267 from Base:System
- Import commit 5a8eadd0c021758337a020c423f25a353bdb9b3c (merge of v255.8)
  For a complete list of changes, visit:
  603cd1d4d8...5a8eadd0c0
- Drop 5003-Revert-run-pass-the-pty-slave-fd-to-transient-servic.patch as v255.8
  contains the workaround (commit 639c922ede9485) for the broken commit
  28459ba1f4df.

OBS-URL: https://build.opensuse.org/request/show/1184267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=427
2024-07-03 18:26:36 +00:00
Franck Bui
735f8c4ba4 - Import commit 5a8eadd0c021758337a020c423f25a353bdb9b3c (merge of v255.8)
For a complete list of changes, visit:
  603cd1d4d8...5a8eadd0c0
- Drop 5003-Revert-run-pass-the-pty-slave-fd-to-transient-servic.patch as v255.8
  contains the workaround (commit 639c922ede9485) for the broken commit
  28459ba1f4df.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1536
2024-07-01 08:47:17 +00:00
Ana Guerrero
37853fecc3 Accepting request 1183029 from Base:System
- Don't automatically clean unmodified config files up (bsc#1226415)
  Relying on the presence of .rpmsave for detecting unmodified main config files
  couldn't work as it created a time window in which some of the systemd
  services were restarted with no config file. That had the bad side effect to
  restart them with the upstream defaults, ignoring any user's customization.

- testsuite: move a misplaced %endif

- Merge systemd-coredump back into the main package (bsc#1091684)

- testsuite: only require the devel packages when pulling the dlopen'd
  dependencies (the libraries are dependencies of the devel packages).

OBS-URL: https://build.opensuse.org/request/show/1183029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=426
2024-06-25 21:06:32 +00:00
Franck Bui
638de11012 - Don't automatically clean unmodified config files up (bsc#1226415)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1535
2024-06-24 14:45:08 +00:00
Franck Bui
369c023c24 reorder one more time...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1534
2024-06-18 14:08:50 +00:00
Franck Bui
ffa9f0ac80 reorder the runtime deps of the testsuite package so the format_spec_file thingy stop screwing up the spec file...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1533
2024-06-18 13:55:55 +00:00
Franck Bui
12c1190a79 fix rev 1529: the devel packages are really needed by the testsuite script to install the dlopened libs into the image
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1532
2024-06-18 13:52:17 +00:00
Franck Bui
ca8e7f54ce - systemd.spec: move a misplaced %endif in the testsuite sub-package.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1531
2024-06-18 13:21:13 +00:00
Franck Bui
b7944f5b14 - Merge systemd-coredump back into the main package (bsc#1091684)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1530
2024-06-18 10:20:35 +00:00
Franck Bui
3fa0dea84a - Don't pull the devel packages in when installing the testsuite package.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1529
2024-06-18 10:13:54 +00:00
Ana Guerrero
b561cb9600 Accepting request 1179036 from Base:System
- Add 5003-Revert-run-pass-the-pty-slave-fd-to-transient-servic.patch
  This revert the backport of the broken commit 28459ba1f4df until a fix is
  released in the v255-stable tree (see pr#33216).

- Rename PAM config file 'systemd-user' into 'pam.systemd-user'.

OBS-URL: https://build.opensuse.org/request/show/1179036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=425
2024-06-07 13:02:34 +00:00
Franck Bui
2675556165 - Add 5003-Revert-run-pass-the-pty-slave-fd-to-transient-servic.patch
This revert the backport of the broken commit 28459ba1f4df until a fix is
  released in the v255-stable tree (see pr#33216).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1528
2024-06-06 13:23:35 +00:00
Ana Guerrero
4f525052e1 Accepting request 1177954 from Base:System
- Import commit 603cd1d4d81147d4f2eccd5e352064a4215119b4 (merge of v255.7)
  For a complete list of changes, visit:
  b9c17562f6...603cd1d4d8

- Import commit b9c17562f612ab2cd8cfee1960714c58d0a6c593
  b9c17562f6 99-systemd.rules: rework SYSTEMD_READY logic for device mapper
  c5003fc15e pcrlock: add make_pcrlock_record_from_stream

- systemd.spec: introduce %{meson_extra_configure_options} to allow passing
  extra meson configure options.

OBS-URL: https://build.opensuse.org/request/show/1177954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=424
2024-06-03 15:40:30 +00:00
Franck Bui
6c60518791 - Rename PAM config file 'systemd-user' into 'pam.systemd-user'.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1527
2024-05-31 14:26:42 +00:00
Franck Bui
6230e4e0f0 - Import commit 603cd1d4d81147d4f2eccd5e352064a4215119b4 (merge of v255.7)
For a complete list of changes, visit:
  b9c17562f6...603cd1d4d8

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1526
2024-05-31 12:16:46 +00:00
Franck Bui
edd20e7ed2 - Import commit b9c17562f612ab2cd8cfee1960714c58d0a6c593
b9c17562f6 99-systemd.rules: rework SYSTEMD_READY logic for device mapper
  c5003fc15e pcrlock: add make_pcrlock_record_from_stream

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1525
2024-05-31 11:33:41 +00:00
Franck Bui
4f0e04e97b - systemd.spec: introduce %{meson_extra_configure_options} to allow passing
extra meson configure options.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1524
2024-05-22 08:58:36 +00:00
Ana Guerrero
aa0e743a4c Accepting request 1174803 from Base:System
- systemd.spec: enable unit tests during build 

- Import commit 3ea0e1dff3d7ca74c072cdcc8b371034125803d6
  3ea0e1dff3 test/test-rpm-macros.sh: add build directory to pkg-config search path
  1cbf1c82b5 libsystemd-network: skip dhcp server test in case of EAFNOSUPPORT
  38f7ac60db sd-event: increase test-event timeout to 120s

- systemd.spec: update the minimal required version of dracut. Also drop
  conflicts with mkinitrd: this package has been removed since quite some time
  now.

- systemd.spec: some of the meson options have been converted to meson features.

OBS-URL: https://build.opensuse.org/request/show/1174803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=423
2024-05-20 16:09:34 +00:00
Franck Bui
aea07c1d29 emphasize that it's the *unit* tests that are run in %check
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1523
2024-05-16 14:28:26 +00:00
Franck Bui
d09e66c09e Accepting request 1174450 from home:radolin:branches:Base:System
- systemd.spec: enable tests during build

OBS-URL: https://build.opensuse.org/request/show/1174450
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1522
2024-05-16 14:23:48 +00:00
Franck Bui
7b1278ac37 - Import commit 3ea0e1dff3d7ca74c072cdcc8b371034125803d6
3ea0e1dff3 test/test-rpm-macros.sh: add build directory to pkg-config search path
  1cbf1c82b5 libsystemd-network: skip dhcp server test in case of EAFNOSUPPORT
  38f7ac60db sd-event: increase test-event timeout to 120s

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1521
2024-05-16 08:48:39 +00:00
Ana Guerrero
41badc8048 Accepting request 1173887 from Base:System
- Import commit a3dccacb97e94ed91f1c41ce82ef13bfe8fa1a79 (merge of v255.6)
  For a complete list of changes, visit:
  49fb09fa18...a3dccacb97

OBS-URL: https://build.opensuse.org/request/show/1173887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=422
2024-05-15 19:25:45 +00:00
Franck Bui
fc3c5b8fc9 - systemd.spec: update the minimal required version of dracut. Also drop
conflicts with mkinitrd: this package has been removed since quite some time
  now.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1520
2024-05-15 08:10:08 +00:00
Franck Bui
ebff88e456 - systemd.spec: some of the meson options have been converted to meson features.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1519
2024-05-14 11:52:47 +00:00
Franck Bui
f2ca322f53 - Import commit a3dccacb97e94ed91f1c41ce82ef13bfe8fa1a79 (merge of v255.6)
For a complete list of changes, visit:
  49fb09fa18...a3dccacb97

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1518
2024-05-13 10:08:47 +00:00
Dominique Leuenberger
d3a7f13743 Accepting request 1172983 from Base:System
- Import commit 49fb09fa18a7b81f6b3c3c15aca47fd00940430e (merge of v255.5)
  For a complete list of changes, visit:
  23b15deb20...49fb09fa18

- Import commit 23b15deb203780580cbfad095ae1071bd2133220
  23b15deb20 gpt-auto-generator: be more defensive when checking the presence of ESP in fstab (bsc#1218671)
  7ed2979654 journalctl: explicitly check < 0 for error
  fc5e25d0a0 journalctl: make --until work again with --after-cursor and --lines (bsc#1221906)

OBS-URL: https://build.opensuse.org/request/show/1172983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=421
2024-05-11 16:19:00 +00:00
Franck Bui
fcae9f863a - Import commit 49fb09fa18a7b81f6b3c3c15aca47fd00940430e (merge of v255.5)
For a complete list of changes, visit:
  23b15deb20...49fb09fa18

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1517
2024-05-07 14:00:15 +00:00
Franck Bui
cba1ec9535 - Import commit 23b15deb203780580cbfad095ae1071bd2133220
23b15deb20 gpt-auto-generator: be more defensive when checking the presence of ESP in fstab (bsc#1218671)
  7ed2979654 journalctl: explicitly check < 0 for error
  fc5e25d0a0 journalctl: make --until work again with --after-cursor and --lines (bsc#1221906)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1516
2024-05-07 13:22:08 +00:00
Dominique Leuenberger
460d144ef2 Accepting request 1170821 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1170821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=420
2024-05-01 12:55:28 +00:00
Franck Bui
d0e5bcd922 Accepting request 1170779 from home:lnussel:branches:Base:System
libkmod is in the libkmod2 package

OBS-URL: https://build.opensuse.org/request/show/1170779
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1515
2024-04-29 15:04:06 +00:00
Franck Bui
b19ec77738 - Update 0008-sysv-generator-translate-Required-Start-into-a-Wants.patch to
adapt sysv-generator-test to the SUSE's specificity brought by this patch.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1514
2024-04-25 09:12:22 +00:00
Franck Bui
ef8e19e17d - systemd-testsuite: some of the integration tests depend on the bin, daemon,
games and nobody users/groups.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1513
2024-04-25 08:58:33 +00:00
Franck Bui
183a1defb4 - Drop _FORTIFY_SOURCE=2 workaround. Since commit 7929e180aa (v253) it shouldn't
be needed anymore.
- Force _FORTIFY_SOURCE=2 as systemd (ab)use of malloc_usable_size() leads to
  build issues with FS=3 (bsc#1200819).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1512
2024-04-22 09:41:04 +00:00
Franck Bui
00e8918e81 - systemd.spec: preparation for the next version of systemd (i.e. v256), libkmod
will be dlopened hence explicitly require it now as it doesn't hurt with the
  current version. However don't recommend it from systemd by assuming that when
  module loading from PID1 is needed, udev is installed.
- Make systemd-doc subpackage noarch.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1511
2024-04-08 16:03:29 +00:00
Ana Guerrero
bc7435dd98 Accepting request 1164306 from Base:System
- Move systemd-repart from experimental to udev.

- Add 0001-Drop-support-for-efivar-SystemdOptions.patch (bsc#1220338)
  Upstream deprecated it and plan to drop it in the future.
  Let's get ahead and drop it now as this feature is unlikely to be used on SUSE
  distros and it might be used to gain access to encrypted SLEM systems with
  unattended disk unlock and with secure boot disabled.

- The following patches have been merged into SUSE/v255 branch hence removed
  from the OBS project.
  5006-cgroup-Add-EffectiveMemoryMax-EffectiveMemoryHigh-an.patch
  5007-test-Convert-rlimit-test-to-subtest-of-generic-limit.patch
  5008-test-Add-effective-cgroup-limits-testing.patch
  5009-cgroup-Restrict-effective-limits-with-global-resourc.patch
  5010-cgroup-Rename-effective-limits-internal-table.patch
- Import commit 56b53b17bcd8311dfb53f05b359b2812593883ab
  56b53b17bc cgroup: Rename effective limits internal table (jsc#PED-5659)
  7c9202317c cgroup: Restrict effective limits with global resource provision (jsc#PED-5659)
  da858e68eb test: Add effective cgroup limits testing (jsc#PED-5659)
  2f013357a5 test: Convert rlimit test to subtest of generic limit testing (jsc#PED-5659)
  0a3ea7f367 cgroup: Add EffectiveMemoryMax=, EffectiveMemoryHigh= and EffectiveTasksMax= properties (jsc#PED-5659)

- Drop split_usr build conditional since both split-usr and unmerged-usr
  supports have been removed since v255.
- Don't use the "Patch:" directive with a suffix number as since the suffix
  doesn't serve any purpose.

OBS-URL: https://build.opensuse.org/request/show/1164306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=419
2024-04-04 20:24:04 +00:00
Franck Bui
a8ec48c140 - Move systemd-repart from experimental to udev.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1510
2024-04-03 07:16:29 +00:00
Franck Bui
271b558d5b update 0001-Drop-support-for-efivar-SystemdOptions.patch in order to log when SystemdOptions exists
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1509
2024-03-22 17:19:11 +00:00
Franck Bui
28969df3b0 - Add 0001-Drop-support-for-efivar-SystemdOptions.patch (bsc#1220338)
Upstream deprecated it and plan to drop it in the future.
  Let's get ahead and drop it now as this feature is unlikely to be used on SUSE
  distros and it might be used to gain access to encrypted SLEM systems with
  unattended disk unlock and with secure boot disabled.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1508
2024-03-22 13:10:00 +00:00
Franck Bui
fc20ad5ccd - The following patches have been merged into SUSE/v255 branch hence removed
from the OBS project.
  5006-cgroup-Add-EffectiveMemoryMax-EffectiveMemoryHigh-an.patch
  5007-test-Convert-rlimit-test-to-subtest-of-generic-limit.patch
  5008-test-Add-effective-cgroup-limits-testing.patch
  5009-cgroup-Restrict-effective-limits-with-global-resourc.patch
  5010-cgroup-Rename-effective-limits-internal-table.patch
- Import commit 56b53b17bcd8311dfb53f05b359b2812593883ab
  56b53b17bc cgroup: Rename effective limits internal table (jsc#PED-5659)
  7c9202317c cgroup: Restrict effective limits with global resource provision (jsc#PED-5659)
  da858e68eb test: Add effective cgroup limits testing (jsc#PED-5659)
  2f013357a5 test: Convert rlimit test to subtest of generic limit testing (jsc#PED-5659)
  0a3ea7f367 cgroup: Add EffectiveMemoryMax=, EffectiveMemoryHigh= and EffectiveTasksMax= properties (jsc#PED-5659)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1507
2024-03-21 14:15:59 +00:00
Dominique Leuenberger
d8a11025d3 Accepting request 1159582 from Base:System
- Import commit be772961ada05afab21a72e225d28c26ef9fb1ea (merge of v255.4)
  For a complete list of changes, visit:
  3986ed5117...be772961ad

- Import commit 3986ed5117e1563adfce3f5a8e088a77016c0aee
  3986ed5117 test: drop route from test-functions

- Account for upstream changes to the quotaon and quotacheck services

- Create /etc/sysusers.d as expected by sysusers.d(5)

- Move C API manual pages to systemd-doc, this saves buildroots
  770+ files and time (mandb is run in %posttrans).
- Delete supplements on base-documentation from that.
- Courtesy of spec formatters, remove redundant %defattr.

OBS-URL: https://build.opensuse.org/request/show/1159582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=418
2024-03-20 20:13:40 +00:00
Franck Bui
5133681b88 more %split_usr build conditional removals (amend the previous commit)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1506
2024-03-20 17:59:30 +00:00
Franck Bui
4557ea6677 - Drop split_usr build conditional since both split-usr and unmerged-usr
supports have been removed since v255.
- Don't use the "Patch:" directive with a suffix number as since the suffix
  doesn't serve any purpose.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1505
2024-03-20 17:41:07 +00:00
Franck Bui
da8006121f sort files.experimental
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1504
2024-03-19 14:38:42 +00:00
Franck Bui
522c277945 Accepting request 1159575 from home:daandemeyer:branches:Base:System
- Account for upstream changes to the quotaon and quotacheck services

OBS-URL: https://build.opensuse.org/request/show/1159575
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1503
2024-03-19 14:11:27 +00:00
Franck Bui
b3752195db - Import commit be772961ada05afab21a72e225d28c26ef9fb1ea (merge of v255.4)
For a complete list of changes, visit:
  3986ed5117...be772961ad

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1502
2024-03-18 20:43:18 +00:00
Franck Bui
c01ad8f39e - Import commit 3986ed5117e1563adfce3f5a8e088a77016c0aee
3986ed5117 test: drop route from test-functions

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1501
2024-03-18 20:11:42 +00:00
Franck Bui
6b0884ea35 Accepting request 1158977 from home:mvyskocil:branches:Base:System
- Create /etc/sysusers.d as expected by sysusers.d(5)

OBS-URL: https://build.opensuse.org/request/show/1158977
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1500
2024-03-18 19:15:35 +00:00
Franck Bui
cf4cb8b82f Accepting request 1156939 from home:jengelh:branches:Base:System
- Move C API manual pages to systemd-doc, this saves buildroots
  770+ files and time (mandb is run in %posttrans).

OBS-URL: https://build.opensuse.org/request/show/1156939
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1499
2024-03-18 19:10:41 +00:00
Ana Guerrero
6cd55f982e Accepting request 1152118 from Base:System
- Fix syntax required for OBS source validator

- Upgrade to v255.3 (commit 96edf7ad1866172b994cafb4df49e27d68ce8e87)
  See https://github.com/openSUSE/systemd/blob/SUSE/v255/NEWS for details.
  - This includes the following bug fixes:
    - commit 6e10405aa25fe5e76b740d9ec59730e3f4470c7a (bsc#1219766)
  - The following patches have been rebased:
    - 0002-rc-local-fix-ordering-startup-for-etc-init.d-boot.lo.patch
    - 0008-sysv-generator-translate-Required-Start-into-a-Wants.patch
    - 0009-pid1-handle-console-specificities-weirdness-for-s390.patch
    - 5001-Revert-udev-update-devlink-with-the-newer-device-nod.patch
    - 5002-Revert-udev-revert-workarounds-for-issues-caused-by-.patch
  - The following patches have been removed since they're part of v255:
    - 5003-cgroup-rename-TasksMax-structure-to-CGroupTasksMax.patch
    - 5004-bus-print-properties-ignore-CGROUP_LIMIT_MAX-for-Mem.patch
    - 5005-bus-print-properties-prettify-more-unset-properties.patch
  - systemd-boot has been added to the list of the dependencies of the
    systemd-testsuite package as the installation of the bootloader is now
    tested.
  - the following patches have been backported on top of v255.3:
    96edf7ad18 service: Demote log level of NotifyAccess= messages to debug (bsc#1210113 jsc#PED-6214)
    fdde7f26d6 vconsole-setup: don't fail if the only found vc is already used by plymouth (bsc#1218618)
    f96c587d41 rules: set up tty permissions and group for /dev/hvc* nodes (bsc#1218137)
    63a41b8899 vconsole-setup: remember the correct error value when open_terminal() fails
    f51a2e038c vconsole-setup: handle the case where the vc is in KD_GRAPHICS mode more gracefully (bsc#1215282)
    15025a04c4 test: make sure to install the filesystem package in the test image on SUSE
    06fecfb635 test: make sure that sd-boot is installed before testing bootctl
    1e8788ea68 test: install systemd-boot in openSUSE test images
    6e2875ad43 test/test-shutdown.py: optionally display the test I/Os in a dedicated log file
    4be1a801b4 test-69: send SIGTERM to ask systemd-nspawn to properly stop the container

OBS-URL: https://build.opensuse.org/request/show/1152118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=417
2024-03-14 16:42:46 +00:00
Thomas Blume
56be0a56ca Accepting request 1150660 from home:afeijoo:branches:Base:System
- Fix syntax required for OBS source validator

OBS-URL: https://build.opensuse.org/request/show/1150660
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1498
2024-02-27 10:47:44 +00:00