Commit Graph

2142 Commits

Author SHA256 Message Date
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
Franck Bui
94f1d69402 - 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
    7bdab7b7c7 man: Document ranges for distributions config files and local config files
    3f12a6c22f test: systemd-update-utmp is optional

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1497
2024-02-23 16:24:26 +00:00
Ana Guerrero
4773c03af8 Accepting request 1149219 from Base:System
- Import commit 31f1148f75a1155d3eb37fd1a450096d669ec65b
  31f1148f75 seccomp: include `fchmodat2` in `@file-system` (bsc#1219766)
  001f349c57 service: Demote log level of NotifyAccess= messages to debug (bsc#1210113 jsc#PED-6214) 

- Add a new %upstream macro to support building from upstream sources. This
  will allow upstream to build systemd rpms using the opensuse systemd packaging
  specs. These rpms will be built and used in upstream's mkosi based hacking and
  testing environment to test changes and in the future to run integration tests
  as well. By building the rpms using the opensuse packaging specs, the idea is
  to catch more issues ahead of time as the mkosi environment will behave more
  like a regular opensuse system.
- Add new %version_override and %version_release macros to allow overriding the
  version and release of the rpm respectively.

OBS-URL: https://build.opensuse.org/request/show/1149219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=416
2024-02-23 15:41:10 +00:00
Franck Bui
cf25628836 - When building systemd rpms in place (i.e. rpmbuild --build-in-place), the
version of systemd is now retrieved from the file "meson.version" by
  default. This file is supposed to contain a string that described the full
  version of the systemd project.
- Overriding of %systemd_version/%systemd_release is now limited to builds of
  rpms in place cases.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1496
2024-02-23 08:10:09 +00:00
Franck Bui
60821ed2c5 - Import commit 31f1148f75a1155d3eb37fd1a450096d669ec65b
31f1148f75 seccomp: include `fchmodat2` in `@file-system` (bsc#1219766)
  001f349c57 service: Demote log level of NotifyAccess= messages to debug (bsc#1210113 jsc#PED-6214)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1495
2024-02-22 10:10:39 +00:00
Ana Guerrero
0944c54277 Accepting request 1147539 from Base:System
- Import commit 53e2aaaf9d69fb1c8f6ae2c9f8a99b02d70d318f
  53e2aaaf9d vconsole-setup: don't fail if the only found vc is already used by plymouth (bsc#1218618)
  22c4878430 vconsole-setup: port to main-func.h boilerplate

- systemd-testsuite: depend on "qemu" instead of "qemu-kvm", the latter is
  obsolete. (bsc#1218684)

- Import commit fbf9f32eb774ba6ec54e0d5d53b36baaf3e6b146
  fbf9f32eb7 test/test-shutdown.py: optionally display the test I/Os in a dedicated log file
  cd012774df test-69: send SIGTERM to ask systemd-nspawn to properly stop the container
  d883b83244 man: Document ranges for distributions config files and local config files

- Import commit fa94ab006d09686cef121aaa3baa10cf5ca95e19 (merge of v254.9)
  For a complete list of changes, visit:
  67a5ac1043...fa94ab006d

- Update the version of libbpf dlopened by systemd (weak dependency) (bsc#1219440)

OBS-URL: https://build.opensuse.org/request/show/1147539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=415
2024-02-20 20:12:34 +00:00
Franck Bui
de9857c4a9 Accepting request 1148086 from home:daandemeyer:branches:Base:System
- Add a new %upstream macro to support building from upstream sources. This
  will allow upstream to build systemd rpms using the opensuse systemd packaging
  specs. These rpms will be built and used in upstream's mkosi based hacking and
  testing environment to test changes and in the future to run integration tests
  as well. By building the rpms using the opensuse packaging specs, the idea is
  to catch more issues ahead of time as the mkosi environment will behave more
  like a regular opensuse system.
- Add new %version_override and %version_release macros to allow overriding the
  version and release of the rpm respectively.

OBS-URL: https://build.opensuse.org/request/show/1148086
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1494
2024-02-20 14:38:41 +00:00
Franck Bui
808df0e80d - Import commit 53e2aaaf9d69fb1c8f6ae2c9f8a99b02d70d318f
53e2aaaf9d vconsole-setup: don't fail if the only found vc is already used by plymouth (bsc#1218618)
  22c4878430 vconsole-setup: port to main-func.h boilerplate

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1493
2024-02-19 09:13:14 +00:00
Franck Bui
796f5535ee - systemd-testsuite: depend on "qemu" instead of "qemu-kvm", the latter is
obsolete. (bsc#1218684)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1492
2024-02-19 08:29:19 +00:00
Franck Bui
648decfc0c - Import commit fbf9f32eb774ba6ec54e0d5d53b36baaf3e6b146
fbf9f32eb7 test/test-shutdown.py: optionally display the test I/Os in a dedicated log file
  cd012774df test-69: send SIGTERM to ask systemd-nspawn to properly stop the container
  d883b83244 man: Document ranges for distributions config files and local config files

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1491
2024-02-14 09:39:26 +00:00
Franck Bui
d45596786f - Import commit fa94ab006d09686cef121aaa3baa10cf5ca95e19 (merge of v254.9)
For a complete list of changes, visit:
  67a5ac1043...fa94ab006d

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1490
2024-02-14 08:07:41 +00:00
Franck Bui
4925638df7 - Update the version of libbpf dlopened by systemd (weak dependency) (bsc#1219440)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1489
2024-02-13 14:43:36 +00:00
Ana Guerrero
770031926f Accepting request 1144939 from Base:System
- Drop python3-pefile dependency from the experimental package. MicroOs is fond
  of the experimental stuff but OTOH it doesn't ship python3. Let's drop the
  dependency for now, users of ukify are invited to install python3-pe manually.

- Move systemd-reboot.service from udev to the main package as this service is
  useful in containers.

  It includes the following fix:
    029272750f resolved: actually check authenticated flag of SOA transaction (bsc#1218297 CVE-2023-7008)

OBS-URL: https://build.opensuse.org/request/show/1144939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=414
2024-02-08 18:01:41 +00:00
Franck Bui
38b23cf184 - Drop python3-pefile dependency from the experimental package. MicroOs is fond
of the experimental stuff but OTOH it doesn't ship python3. Let's drop the
  dependency for now, users of ukify are invited to install python3-pe manually.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1488
2024-02-07 13:27:55 +00:00
Franck Bui
9d3e868cc9 - Move systemd-reboot.service from udev to the main package as this service is
useful in containers.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1487
2024-02-06 13:32:34 +00:00
Franck Bui
97fa974124 reference bsc#1218297 in the changelog
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1486
2024-02-05 13:57:41 +00:00
Ana Guerrero
7064950872 Accepting request 1141007 from Base:System
- Add patches that implement [jsc#PED-5659]
  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
  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
  They are temporarily put in quarantine to get broader testing but should be
  eventually moved to the git repo.

OBS-URL: https://build.opensuse.org/request/show/1141007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=413
2024-01-24 18:04:38 +00:00
Franck Bui
ebea3f9a92 - Add patches that implement [jsc#PED-5659]
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
  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
  They are temporarily put in quarantine to get broader testing but should be
  eventually moved to the git repo.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1485
2024-01-23 13:52:53 +00:00
Ana Guerrero
b62713e78b Accepting request 1140379 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1140379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=412
2024-01-22 19:30:41 +00:00
Franck Bui
47702788c7 Accepting request 1140337 from home:gcomes.obs
- remove pam-config call from post scriptlet of systemd-32bit
  * the full package already does that

OBS-URL: https://build.opensuse.org/request/show/1140337
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1484
2024-01-22 07:44:07 +00:00
Ana Guerrero
f26756ace3 Accepting request 1138298 from Base:System
- Add 5001-Revert-udev-update-devlink-with-the-newer-device-nod.patch
      5002-Revert-udev-revert-workarounds-for-issues-caused-by-.patch
  It seems that systemd upstream has a dubious way to fix broken code these
  days... let's revert these hacks until a final decision is taken to solve
  https://github.com/systemd/systemd/issues/28141. See also
  https://github.com/systemd/systemd/pull/30075.

- Import commit 67a5ac1043417d900bf417a884372ae14a96ef69 (merge of v254.8)
  For a complete list of changes, visit:
  071ac409a0...67a5ac1043

- udev(-mini)?: ensure %_modulesloaddir exists and is owned
  properly. Allows other packages to install modules without worry
  of the parent directory. We do not ensure /etc/modules-load.d
  exists in the -mini flavor, as that directory is not meant to be
  used by packages.

  071ac409a0 rules: set up tty permissions and group for /dev/hvc* nodes (bsc#1218137)

OBS-URL: https://build.opensuse.org/request/show/1138298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=411
2024-01-14 18:01:13 +00:00
Franck Bui
b8562e4177 - Add 5001-Revert-udev-update-devlink-with-the-newer-device-nod.patch
5002-Revert-udev-revert-workarounds-for-issues-caused-by-.patch
  It seems that systemd upstream has a dubious way to fix broken code these
  days... let's revert these hacks until a final decision is taken to solve
  https://github.com/systemd/systemd/issues/28141. See also
  https://github.com/systemd/systemd/pull/30075.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1483
2024-01-12 10:19:47 +00:00
Franck Bui
31bc789b24 - Import commit 67a5ac1043417d900bf417a884372ae14a96ef69 (merge of v254.8)
For a complete list of changes, visit:
  071ac409a0...67a5ac1043

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1482
2024-01-12 09:56:05 +00:00
Franck Bui
c2a4199985 Accepting request 1134609 from home:dimstar:Factory
- udev(-mini)?: ensure %_modulesloaddir exists and is owned
  properly. Allows other packages to install modules without worry
  of the parent directory. We do not ensure /etc/modules-load.d
  exists in the -mini flavor, as that directory is not meant to be
  used by packages.

OBS-URL: https://build.opensuse.org/request/show/1134609
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1481
2023-12-22 10:27:31 +00:00
Ana Guerrero
b69793bfb0 Accepting request 1134212 from Base:System
- udev: only require kmod in the full flavor. udev-mini is only
  used inside OBS in a strictly defined setup and udev will never
  have to load device drivers there.

- Import commit 071ac409a0564863657d8f8a5a35e6a4f914695f
  071ac409a0 rules: set up tty permissions and group for /dev/hvc* nodes
  f693b3ed8a vconsole-setup: remember the correct error value when open_terminal() fails
  963d838bad vconsole-setup: handle the case where the vc is in KD_GRAPHICS mode more gracefully (bsc#1215282)
  6f53f71d2d vconsole-setup: simplify error handling

OBS-URL: https://build.opensuse.org/request/show/1134212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=410
2023-12-21 22:37:23 +00:00
Franck Bui
a52c2fed3d document bsc#1218137 in the changelogs
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1480
2023-12-21 10:22:01 +00:00
Franck Bui
8da357a7ed disable kmod support for the mini flavor, this complements the previous change
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1479
2023-12-21 08:24:37 +00:00
Franck Bui
7beaf185f7 Accepting request 1134210 from home:dimstar:Factory
- udev: only require kmod in the full flavor. udev-mini is only
  used inside OBS in a strictly defined setup and udev will never
  have to load device drivers there.

This should allow us to remove system-module-tools from almost all buildroots.

OBS-URL: https://build.opensuse.org/request/show/1134210
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1478
2023-12-20 12:58:01 +00:00
Franck Bui
c1dc7ece68 - Import commit 071ac409a0564863657d8f8a5a35e6a4f914695f
071ac409a0 rules: set up tty permissions and group for /dev/hvc* nodes
  f693b3ed8a vconsole-setup: remember the correct error value when open_terminal() fails
  963d838bad vconsole-setup: handle the case where the vc is in KD_GRAPHICS mode more gracefully (bsc#1215282)
  6f53f71d2d vconsole-setup: simplify error handling

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1477
2023-12-20 12:50:37 +00:00
Dominique Leuenberger
e923ad2f02 Accepting request 1132619 from Base:System
- Explicitely provide 'group(systemd-journal)' from the main package (bsc#1217852)

- Import commit ce08cd5f66e1a661c2b9ed764ad7036decd76503
  ce08cd5f66 man/standard-conf: directory paths should end with '/'
  8324cbfde7 config files: update their header to reflect that they can be installed in /usr
  bc36846ad2 Reflect the fact that main config files can be installed in /usr
  e304a11f33 config files: more recommendations of `systemd-analyze cat-config`
  c45cecf279 meson: add build option for install path of main config files
  cc61b052c6 vconsole-setup: use a consistent log level when setfont fails with EX_OSERR (bsc#1212970)
  4fe3653dab tmpfiles: ignore EINVAL with --graceful (bsc#1216628)

OBS-URL: https://build.opensuse.org/request/show/1132619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=409
2023-12-12 18:31:38 +00:00
Franck Bui
a0d495d7cb - Explicitely provide 'group(systemd-journal)' from the main package (bsc#1217852)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1476
2023-12-12 08:43:35 +00:00
Franck Bui
1a52d97f5c - Import commit ce08cd5f66e1a661c2b9ed764ad7036decd76503
ce08cd5f66 man/standard-conf: directory paths should end with '/'
  8324cbfde7 config files: update their header to reflect that they can be installed in /usr
  bc36846ad2 Reflect the fact that main config files can be installed in /usr
  e304a11f33 config files: more recommendations of `systemd-analyze cat-config`
  c45cecf279 meson: add build option for install path of main config files
  cc61b052c6 vconsole-setup: use a consistent log level when setfont fails with EX_OSERR (bsc#1212970)
  4fe3653dab tmpfiles: ignore EINVAL with --graceful (bsc#1216628)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1475
2023-12-12 07:46:24 +00:00
Dominique Leuenberger
50bd5b4c78 Accepting request 1130178 from Base:System
- udev: Tighten permissions for DRM render nodes (bsc#1217118). Note that this
  implicitly enables `uaccess`, so any logged-in user still gets access
  regardless of group membership. Some use cases, e.g. remote access via ssh,
  might require you to add the desired user to the `render` group.
  See:
  https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/3S3HAWVODHC2FQI4E76IFGCSRVRJ63KG/

OBS-URL: https://build.opensuse.org/request/show/1130178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=408
2023-12-02 16:12:31 +00:00
Franck Bui
308fc247b0 Append a link of the announcement of the previous change on the factory mailing list
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1474
2023-12-01 08:07:48 +00:00