Bug#871490: mention how to force listing of /var/lib/systemd/coredump

Michael Biebl biebl at debian.org
Sun Sep 10 17:45:14 BST 2017


Am 08.08.2017 um 12:55 schrieb 積丹尼 Dan Jacobson:

> # ls -l /var/lib/systemd/coredump/
> -rw-r-----+ 1 root root 4286231 07-30 18:23 core.epiphany.1000.2ba5facaef5c407da86c3f02f72dd40f.1714.1501410216000000.lz4
> -rw-r-----+ 1 root root 8430257 07-30 21:45 core.midori.1000.2ba5facaef5c407da86c3f02f72dd40f.13367.1501422347000000.lz4
> -rw-r-----  1 root root  664045 07-30 18:34 core.udisksd.0.2ba5facaef5c407da86c3f02f72dd40f.363.1501410894000000.lz4

Fwiw, the real interesting issue regarding this bug report is, that
those old core files are still there.
It doesn't make a lot of sense to store old core files for a longer
period of time, so systemd ships this tmpfiles snippet to clean up
/var/lib/systemd/coredump/

# grep coredump /usr/lib/tmpfiles.d/*
/usr/lib/tmpfiles.d/systemd.conf:d /var/lib/systemd/coredump 0755 root
root 3d

I.e., files that are older then 3 days should be removed by systemd
automatically. Not sure why does weren't cleaned up on Dan's system

Would be interesting to run "stat" on those core files and have the
output of
SYSTEMD_LOG_LEVEL=debug /bin/systemd-tmpfiles --clean
and
systemctl status systemd-tmpfiles-clean.service
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- 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/20170910/8198156c/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list