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
This commit is contained in:
Patsy Griffin 2026-05-27 15:34:03 -04:00
parent 4665dd5b03
commit 3fb9a232ce
3 changed files with 73 additions and 1 deletions

25
RHEL-152440-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-152440-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

@ -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 <patsy@redhat.com> - 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 <patsy@redhat.com> - 6.04-9
- madvise(2): madvise can return EBUSY on MADV_SOFT_OFFLINE requests.
Resolves: RHEL-34105