diff --git a/1023-man-be-even-clearer-that-tmpfiles-user-group-mode-ar.patch b/1023-man-be-even-clearer-that-tmpfiles-user-group-mode-ar.patch new file mode 100644 index 0000000000000000000000000000000000000000..9ae6a3f1151cd1f8e16961ff9edc0cdc7e771b6b --- /dev/null +++ b/1023-man-be-even-clearer-that-tmpfiles-user-group-mode-ar.patch @@ -0,0 +1,44 @@ +From 687f9b3e04a65d2f39f15e7e0090de940c08ff37 Mon Sep 17 00:00:00 2001 +From: Lennart Poettering +Date: Wed, 8 Nov 2023 10:56:07 +0100 +Subject: [PATCH] man: be even clearer that tmpfiles user/group/mode are + applied on existing inodes + +I think it was clear already, but let's be even clearer. + +Fixes: #29774 +(cherry picked from commit 3cb938bd12b3603984b982e9b73e4cabd4a608e3) + +Resolves: RHEL-77145 +--- + man/tmpfiles.d.xml | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml +index e2e2eac228..1c4b575c65 100644 +--- a/man/tmpfiles.d.xml ++++ b/man/tmpfiles.d.xml +@@ -500,6 +500,11 @@ r! /tmp/.X[0-9]*-lock + sticky/SUID/SGID bit is removed unless applied to a + directory. This functionality is particularly useful in + conjunction with Z. ++ ++ By default the access mode of listed inodes is set to the specified mode regardless if it is ++ created anew, or already existed. Optionally, if prefixed with :, the configured ++ access mode is only applied when creating new inodes, and if the inode the line refers to ++ already exists, its access mode is left in place unmodified. + + + +@@ -515,6 +520,11 @@ r! /tmp/.X[0-9]*-lock + r, R, + L, t, and + a lines. ++ ++ By default the ownership of listed inodes is set to the specified user/group regardless if it is ++ created anew, or already existed. Optionally, if prefixed with :, the configured ++ user/group information is only applied when creating new inodes, and if the inode the line refers to ++ already exists, its user/group is left in place unmodified. + + + diff --git a/1024-Revert-man-fix-description-of-force-in-halt-8-7392.patch b/1024-Revert-man-fix-description-of-force-in-halt-8-7392.patch new file mode 100644 index 0000000000000000000000000000000000000000..82bba10a5aaafec46a5be057cb25122aa808c988 --- /dev/null +++ b/1024-Revert-man-fix-description-of-force-in-halt-8-7392.patch @@ -0,0 +1,34 @@ +From f94b6151997df8a74b5931324be4d50c7c1bf912 Mon Sep 17 00:00:00 2001 +From: Ludwig Nussel +Date: Tue, 15 Feb 2022 11:49:26 +0100 +Subject: [PATCH] Revert "man: fix description of --force in halt(8) (#7392)" + +This reverts commit 5d9adb5b60b815b477ba9e6b19ef0fd7e1854a38. + +(cherry picked from commit 4e076fc8852614823789c75a0487bf24de3fe9ec) + +Resolves: RHEL-81056 +--- + man/halt.xml | 9 ++------- + 1 file changed, 2 insertions(+), 7 deletions(-) + +diff --git a/man/halt.xml b/man/halt.xml +index 19857cea84..f82ab19f5f 100644 +--- a/man/halt.xml ++++ b/man/halt.xml +@@ -88,13 +88,8 @@ + + + +- Force immediate halt, power-off, or reboot. When +- specified once, this results in an immediate but clean shutdown +- by the system manager. When specified twice, this results in an +- immediate shutdown without contacting the system manager. See the +- description of in +- systemctl1 +- for more details. ++ Force immediate halt, power-off, reboot. Do ++ not contact the init system. + + + diff --git a/1025-man-explicitly-document-that-reboot-f-is-different-f.patch b/1025-man-explicitly-document-that-reboot-f-is-different-f.patch new file mode 100644 index 0000000000000000000000000000000000000000..1f2d0882dffcc5fbf86d22e4f0005dc2bbca86a3 --- /dev/null +++ b/1025-man-explicitly-document-that-reboot-f-is-different-f.patch @@ -0,0 +1,34 @@ +From 559a9e5b910781b114684803bbc4ba021c113edd Mon Sep 17 00:00:00 2001 +From: Yu Watanabe +Date: Sat, 17 Sep 2022 01:25:44 +0900 +Subject: [PATCH] man: explicitly document that "reboot -f" is different from + "systemctl reboot -f" + +Closes #24696. + +(cherry picked from commit cb19517490104553907bb0b118cd2005d6e379cc) + +Resolves: RHEL-81056 +--- + man/halt.xml | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/man/halt.xml b/man/halt.xml +index f82ab19f5f..23bebb32b4 100644 +--- a/man/halt.xml ++++ b/man/halt.xml +@@ -88,8 +88,12 @@ + + + +- Force immediate halt, power-off, reboot. Do +- not contact the init system. ++ ++ Force immediate halt, power-off, reboot. If specified, the command does not contact the init ++ system. In most cases, filesystems are not properly unmounted before shutdown. For example, the ++ command reboot -f is mostly equivalent to systemctl reboot -ff, ++ instead of systemctl reboot -f. ++ + + + diff --git a/systemd.spec b/systemd.spec index 7da939da07b481b9f88ffadd157f40e4d0e6fb28..4511f36ef6df025ef02dcfd789d043d60cbd6e0c 100644 --- a/systemd.spec +++ b/systemd.spec @@ -14,7 +14,7 @@ Name: systemd Url: http://www.freedesktop.org/wiki/Software/systemd Version: 239 -Release: 82%{anolis_release}%{?dist}%{?lifsea_dist}.4 +Release: 82%{anolis_release}%{?dist}%{?lifsea_dist}.5 # For a breakdown of the licensing, see README License: LGPLv2+ and MIT and GPLv2+ Summary: System and Service Manager @@ -1075,6 +1075,9 @@ Patch1019: 1019-logind-don-t-setup-idle-session-watch-for-lock-scree.patch Patch1020: 1020-logind-tighten-for-which-classes-of-sessions-we-do-s.patch Patch1021: 1021-ci-point-C8S-containers-to-the-Vault.patch Patch1022: 1022-core-fix-member-access-within-null-pointer.patch +Patch1023: 1023-man-be-even-clearer-that-tmpfiles-user-group-mode-ar.patch +Patch1024: 1024-Revert-man-fix-description-of-force-in-halt-8-7392.patch +Patch1025: 1025-man-explicitly-document-that-reboot-f-is-different-f.patch Patch10000: 10000-core-fix-a-null-reference-case-in-load_from_path.patch Patch10001: 10001-sysctl-Don-t-pass-null-directive-argument-to-s.patch Patch10002: 10002-exit-status-introduce-EXIT_EXCEPTION-mapping-to-255.patch @@ -1839,10 +1842,10 @@ fi %files tests -f .file-list-tests %changelog -* Wed Apr 23 2025 nebula_matrix_driver - 239-82.0.4.4 +* Fri Apr 25 2025 nebula_matrix_driver - 239-82.0.4.5 - add NebulaMatrix vendor info -* Wed Mar 19 2025 Yuanhong Peng - 239-82.0.1.4 +* Thu Apr 24 2025 Yuanhong Peng - 239-82.0.3.5 - core: fix a null reference case in load_from_path() - sysctl: Don't pass null directive argument to '%s' - exit-status: introduce EXIT_EXCEPTION mapping to 255 @@ -1906,6 +1909,11 @@ fi - core, udev: remove old device on move event (zhonglingh@linux.alibaba.com) - bugfix: sw8a machine seems not to support getxpid syscall any more, replace it with getpid. (Weisson@linux.alibaba.com) +* Wed Mar 05 2025 systemd maintenance team - 239-82.5 +- man: be even clearer that tmpfiles user/group/mode are applied on existing inodes (RHEL-77145) +- Revert "man: fix description of --force in halt(8) (#7392)" (RHEL-81056) +- man: explicitly document that "reboot -f" is different from "systemctl reboot -f" (RHEL-81056) + * Tue Jan 28 2025 systemd maintenance team - 239-82.4 - core: fix member access within null pointer (RHEL-76308)