[systemd-devel] [PATCH] [RFCv7] Optionally save core dumps as plain files
Michael Biebl
mbiebl at gmail.com
Fri Jun 20 13:30:49 PDT 2014
2014-06-20 20:02 GMT+02:00 Lennart Poettering <lennart at poettering.net>:
> So here's what is implemented in git now:
>
> a) There's a configuration file /etc/systemd/coredump.conf with some of
> the options you proposed.
>
> b) We will now store coredumps outside of the journal by default, but
> you can also place them in the journal only, or at both places.
>
> c) I hooked this thing up with elfutils' libdw, which gives us pretty,
> native backtraces in the journal now, without involving gdb or
> anything like that. Only a minimal (optional) dependency on libdw to
> get them. And the best thing is that elfutils is actually maintained
> and can read debuginfo files, unlike some other options for stuff
> like this (like libunwind).
>
> d) I hooked this up with ACLs so that a user can read but not change his
> own coredumps stored in /var.
[..]
> With these changes coredumpctl actually is now really useful and just
> works. I have thus dropped the "systemd-" prefix. We should probably
> start advertising it more.
Nice stuff, thanks.
We currently disable coredump support in Debian but with those changes
it's time to revisit that.
Cheers,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
More information about the systemd-devel
mailing list