Bug#956435: systemd-coredump: should have a way of deleting core dumps

Michael Biebl biebl at debian.org
Sat Apr 11 09:38:35 BST 2020


Control: severity -1 wishlist

Am 11.04.20 um 09:24 schrieb Russell Coker:
> reopen 956435
> thanks
> 
> On Saturday, 11 April 2020 5:17:44 PM AEST Michael Biebl wrote:
>> Does does have a way to delete old coredumps and does it automatically.
>>
>> $ grep coredump /usr/lib/tmpfiles.d/*
>> /usr/lib/tmpfiles.d/systemd.conf:d /var/lib/systemd/coredump 0755 root
>> root 3d
>>
>> Files that are older then 3 days are deleted automatically.
>> You can tweak those settings obviously by providing your own tmpfile
>> snippet.
> 
> If you just rm files you get the below result where coredumps are described as 
> "missing", a proper solution would remove them from the list.

Why? What's the problem?
Fwiw, the journal is append only, you can't just remove entries in the
middle.

> Also whatever the proper solution is deemed to be needs to be documented, the 
> man page mentions nothing about this.

Maybe you should retitle the bug report then?

> Among other things there should be a way of limiting disk space usage to avoid 
> running out of free space from large core dumps.

There is. Maybe read up on the existing documentation?




In any case, since I'm not convinced I won't forward this upstream
myself and if this


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200411/cf4d8087/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list