From: Alejandro Colomar <alx@kernel.org>
To: Carlos O'Donell <carlos@redhat.com>
Cc: Patsy Griffin <patsy@redhat.com>, linux-man@vger.kernel.org
Subject: Re: [PATCH] man/man5/core.5: Update compression format for systemd-coredump
Date: Sun, 3 May 2026 23:19:38 +0200 [thread overview]
Message-ID: <afe7I-9z0AfuLmyQ@devuan> (raw)
In-Reply-To: <eb5c6c20-48a3-46a9-9918-12beffb8e6bc@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1880 bytes --]
Hi Patsy, Carlos,
On 2026-05-01T15:08:21-0400, Carlos O'Donell wrote:
> On 5/1/26 3:06 PM, Patsy Griffin wrote:
> > As of version 246, systemd-coredump defaults to zstd compression
> > for core dumps, rather than lz4.
> >
> > Signed-off-by: Patsy Griffin <patsy@redhat.com>
>
> LGTM.
>
> I thought coredump.conf allowed you to specify which compression format,
> but I was wrong, you can only turn it on or off. This looks correct and on
> my system all my coredumps are *.zst today. Best to update this to match
> latest deployments.
>
> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Thanks!
>
> > ---
> > man/man5/core.5 | 9 +++++++--
> > 1 file changed, 7 insertions(+), 2 deletions(-)
> >
> > diff --git a/man/man5/core.5 b/man/man5/core.5
> > index 4da5819b6..83c49d42d 100644
> > --- a/man/man5/core.5
> > +++ b/man/man5/core.5
> > @@ -515,9 +515,14 @@ program:
> > In this case, core dumps will be placed in the location configured for
> > .BR systemd\-coredump (8),
> > typically as
> > -.BR lz4 (1)
> > -compressed files in the directory
> > +.BR zstd (1)
> > +compressed files
> > +ending in ".zst"
I think this should be added to suffixes(7).
Also, I doubt the suffix should be documented here. Is it an
uncommon suffix for zstd(1)-compressed files? If it's the/a common
suffix, it should be enough to document it in suffixes(7) and say it's
zstd(1) here.
Have a lovely night!
Alex
> > +.\" Since Systemd 246:
> > +.\" commit ef5924aa313d1892bb491c870ba3c429454dfc76
> > +in the directory
> > .IR /var/lib/systemd/coredump/ .
> > +Compression on or off is configurable via coredump.conf(5).
> > One can list the core dumps that have been recorded by
> > .BR systemd\-coredump (8)
> > using
>
>
> --
> Cheers,
> Carlos.
>
--
<https://www.alejandro-colomar.es>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2026-05-03 21:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-01 19:06 [PATCH] man/man5/core.5: Update compression format for systemd-coredump Patsy Griffin
2026-05-01 19:08 ` Carlos O'Donell
2026-05-03 21:19 ` Alejandro Colomar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=afe7I-9z0AfuLmyQ@devuan \
--to=alx@kernel.org \
--cc=carlos@redhat.com \
--cc=linux-man@vger.kernel.org \
--cc=patsy@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox