From 3fb9a232ce47e262ef7720e8312f554829d16e9c Mon Sep 17 00:00:00 2001 From: Patsy Griffin Date: Wed, 27 May 2026 15:34:03 -0400 Subject: [PATCH] suffixes(7): Add zstd format to the suffixes file core(5): Document dump file format change from lz4 format to zstd format Resolves: RHEL-152440 --- RHEL-152440-1.patch | 25 +++++++++++++++++++++++++ RHEL-152440-2.patch | 35 +++++++++++++++++++++++++++++++++++ man-pages.spec | 14 +++++++++++++- 3 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 RHEL-152440-1.patch create mode 100644 RHEL-152440-2.patch diff --git a/RHEL-152440-1.patch b/RHEL-152440-1.patch new file mode 100644 index 0000000..55bc956 --- /dev/null +++ b/RHEL-152440-1.patch @@ -0,0 +1,25 @@ +commit 691adc81e4c3217c64e90e3ee7e6fa5bf82ef640 +Author: Patsy Griffin +Date: Thu May 7 15:05:07 2026 -0400 + + man/man7/suffixes.7: Add .zst suffix + + Signed-off-by: Patsy Griffin + Message-ID: <20260507190508.386186-1-patsy@redhat.com> + Signed-off-by: Alejandro Colomar + +Conflicts: + man/man7/suffixes.7 + (reworked to match version specific format) + +diff -Nrup a/man7/suffixes.7 b/man7/suffixes.7 +--- a/man7/suffixes.7 2024-02-11 19:59:38.000000000 -0500 ++++ b/man7/suffixes.7 2026-05-20 21:57:17.214317096 -0400 +@@ -253,6 +253,7 @@ Suffix File type + \&.z File compressed using \fBpack\fP(1) (or an old \fBgzip\fP(1)) + \&.zip \fBzip\fP(1) archive + \&.zoo \fBzoo\fP(1) archive ++\&.zst File compressed using \fBzstd\fP(1) format + \&\[ti] Emacs or \fBpatch\fP(1) backup file + \&rc startup (`run control') file, e.g., \fI.newsrc\fP + .TE diff --git a/RHEL-152440-2.patch b/RHEL-152440-2.patch new file mode 100644 index 0000000..c755a23 --- /dev/null +++ b/RHEL-152440-2.patch @@ -0,0 +1,35 @@ +commit 0cdcaf9d0d1f1c60f143364c5664f2c2e42fad1c +Author: Patsy Griffin +Date: Thu May 7 15:05:08 2026 -0400 + + man/man5/core.5: Update compression format for systemd-coredump(8) + + As of version 246, systemd-coredump(8) defaults to zstd(1) compression + for core dumps, rather than lz4(1). + + systemd.git ef5924aa (2020-05-04; "coredump: add zstandard support for coredumps") + + Signed-off-by: Patsy Griffin + Message-ID: <20260507190508.386186-2-patsy@redhat.com> + Reviewed-by: Carlos O'Donell + Message-ID: + [alx: Minor tweaks] + Signed-off-by: Alejandro Colomar + +diff --git a/man5/core.5 b/man/man5/core.5 +index 4da5819b6..7b02bd5ba 100644 +--- a/man5/core.5 ++++ b/man5/core.5 +@@ -515,9 +515,11 @@ program: + In this case, core dumps will be placed in the location configured for + .BR systemd\-coredump (8), + typically as +-.BR lz4 (1) ++.BR zstd (1) + compressed files in the directory + .IR /var/lib/systemd/coredump/ . ++Compression on or off is configurable via ++.BR coredump.conf (5). + One can list the core dumps that have been recorded by + .BR systemd\-coredump (8) + using diff --git a/man-pages.spec b/man-pages.spec index 62af824..e6b7fa2 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -1,7 +1,7 @@ Summary: Linux kernel and C library user-space interface documentation Name: man-pages Version: 6.04 -Release: 9%{?dist} +Release: 10%{?dist} # List of licenses with examples of man-pages using them # BSD-2-Clause: man-pages/man5/elf.5 # BSD-3-Clause: man-pages/man3/list.3 @@ -69,6 +69,11 @@ Patch31: RHEL-87625-3.patch Patch32: RHEL-87625-4.patch Patch33: RHEL-34105.patch +# suffixes(7): Add zstd format to the suffixes file. +# core(5): Document dump file format change from lz4 format to zstd format. +Patch34: RHEL-152440-1.patch +Patch35: RHEL-152440-2.patch + %description A large collection of manual pages from the Linux Documentation Project (LDP). @@ -88,6 +93,8 @@ A large collection of manual pages from the Linux Documentation Project (LDP). %patch -p1 -P 31 %patch -p1 -P 32 %patch -p1 -P 33 +%patch -p1 -P 34 +%patch -p1 -P 35 ## Remove man pages we are not going to use ## @@ -140,6 +147,11 @@ fi %{_mandir}/man*/* %changelog +* Wed May 27 2026 Patsy Griffin - 6.04-10 +- suffixes(7): Add zstd format to the suffixes file +- core(5): Document dump file format change from lz4 format to zstd format + Resolves: RHEL-152440 + * Wed Nov 12 2025 Patsy Griffin - 6.04-9 - madvise(2): madvise can return EBUSY on MADV_SOFT_OFFLINE requests. Resolves: RHEL-34105