suffixes(7): Add zstd format to the suffixes file

core(5): Document dump file format change from lz4 format to zstd format

Resolves: RHEL-174912
This commit is contained in:
Patsy Griffin 2026-05-21 16:55:43 -04:00
parent 31fea13a4d
commit 79b9bccbaa
3 changed files with 67 additions and 0 deletions

25
RHEL-174912-1.patch Normal file
View File

@ -0,0 +1,25 @@
commit 691adc81e4c3217c64e90e3ee7e6fa5bf82ef640
Author: Patsy Griffin <patsy@redhat.com>
Date: Thu May 7 15:05:07 2026 -0400
man/man7/suffixes.7: Add .zst suffix
Signed-off-by: Patsy Griffin <patsy@redhat.com>
Message-ID: <20260507190508.386186-1-patsy@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
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

35
RHEL-174912-2.patch Normal file
View File

@ -0,0 +1,35 @@
commit 0cdcaf9d0d1f1c60f143364c5664f2c2e42fad1c
Author: Patsy Griffin <patsy@redhat.com>
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 <patsy@redhat.com>
Message-ID: <20260507190508.386186-2-patsy@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Message-ID: <eb5c6c20-48a3-46a9-9918-12beffb8e6bc@redhat.com>
[alx: Minor tweaks]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
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

View File

@ -73,6 +73,11 @@ Patch33: RHEL-115501.patch
# rtnetlink.7: Document metrics attributes (RTAX_*)
Patch34: RHEL-86830.patch
# suffixes(7): Add zstd format to the suffixes file.
# core(5): Document dump file format change from lz4 format to zstd format.
Patch35: RHEL-174912-1.patch
Patch36: RHEL-174912-2.patch
%description
A large collection of manual pages from the Linux Documentation Project (LDP).
@ -93,6 +98,8 @@ A large collection of manual pages from the Linux Documentation Project (LDP).
%patch -p1 -P 32
%patch -p1 -P 33
%patch -p1 -P 34
%patch -p1 -P 35
%patch -p1 -P 36
## Remove man pages we are not going to use ##