Re: [PATCH] man/man5/core.5: Update compression format for systemd-coredump

Alejandro Colomar <[email protected]>
Newsgroups org.kernel.vger.linux-man
Message-ID <afe7I-9z0AfuLmyQ@devuan>
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 <[email protected]>
> 
> 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 <[email protected]>

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>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmn3u+oACgkQ64mZXMKQ
wqlGnA/+Ii4Ry2GqyW7Hz+zzaijWhty7Qu7KlJkzRJUJYF/HTlQ4xBCx7hbWXXPe
bdVnxJDrKUGu2jSb596VSFNGxHj3pXtN4Slv6dqR96zO7nnCbke65h8MND4eViaB
GEa9V0LyP8HFn4qrEMCzKkXVMCEUzYbZ84G7Ji9ixLoAJHOWge986+xGo/6PEZQ8
VXBW5jxih8X90FKE9hK06/Vnop8up1C8KsYIJfVo7mcC7YuaIKpJD3GMwEAm/Mf2
IMclbkqhwCNLtnolFDFIj5iA4dExBIwKe9eqcYTlrFJioEuTCSYGcLw1eJQqHqbv
KY0cIgu/tXVfIIRayoqfJQuUsN4bkx7CcnsKK6f0ymtQHgJDIm90FJEMcFfVRkt9
rpUfCrz7QcEfECtT4H+5kzH2rSt4H3mGotw9aPUsb1LXkcf+TlfH5ng3MMnfoIPe
ntsUi1+ceDfIZTJce4OybLISsRrl+kX3PLAj/wCIqVPTGs286sAQ0Cx+9H6I3YYS
zQb5XayGMFQ8edUG9/ievhEQypwcAUQJWdmqTKgcrg9qUF7wQ60PDEhkUJr53eOI
6lEJC76z2uwfCKqpeZ8c2OkLMHklVau5wahNkH2CV775wG93znwjXSPKJc4jMxsC
g+0JiVJvWIY0aKCo3dcR1zf7GnFPmy04jEPpXsd7xeqQohoqhFI=
=KI+F
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.