Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* systemd-coredump in distros
@ 2017-09-21 18:14 Andreas Arnez
  2017-09-21 18:57 ` Jan Kratochvil
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Arnez @ 2017-09-21 18:14 UTC (permalink / raw)
  To: Jan Kratochvil; +Cc: Ulrich Weigand, GDB Development

It seems common for new distros to install systemd-coredump by default
and disable core files in the current working directory.  For instance,
see the announcement "Enable systemd-coredump by default" for Fedora 26
(https://fedoraproject.org/wiki/Changes/coredumpctl).

Is there a recommended/preferred way to deal with this in a typical
development use case?  I stumbled upon some issues with systemd-coredump
and don't know if I misunderstood something:

* In my tests, after invoking a command that dumps core, it could happen
  that "coredumpctl" failed immediately afterwards and succeeded a
  second later -- maybe due to asynchronous processing?

* There does not seem to be a way for a user to remove core dumps from
  the journal.  Thus a developer's experiment may pile up dumps in the
  journal, occupying lots of space and making the dumps more difficult
  to find.

* I've seen dumps (from GDB's bigcore.exp) being truncated by
  coredumpctl down to four Gigabytes, although no such limit was set in
  /etc/systemd/coredump.conf.  Note that I haven't investigated where
  the truncation happens.

Considering these issues I wonder whether there's a way for a user to
tell systemd-coredump something like: "Core dumps from this process
should be treated traditionally and written to its current working
directory".  Is that possible?  If not, should it be?

--
Andreas


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-25 11:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-21 18:14 systemd-coredump in distros Andreas Arnez
2017-09-21 18:57 ` Jan Kratochvil
2017-09-21 22:56   ` R0b0t1
2017-09-25 11:07   ` Spurious re-attach error with extended-remote target Dmitry Antipov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox