[arch-general] systemd and core dumps

Dave Reisner d at falconindy.com
Mon Dec 10 23:35:57 EST 2012


On Mon, Dec 10, 2012 at 11:24:17PM -0500, Olivier Langlois wrote:
> Apparently core dumps (if enabled) are stored in the systemd journal.
> 
>  ~ $ cat /proc/sys/kernel/core_pattern 
> |/usr/lib/systemd/systemd-coredump %p %u %g %s %t %e
> 
> systemd-coredumpctl looks nice to use but I am not totally sure yet that
> collecting core dumps in the journal is something that I want
> systematically.
> 
> I am looking for a way to override this. I haven't found any mention of
> that option in systemd documentation.
> 
> Does anyone here would have an idea where I could search?
> 
> Olivier
> 
> 

It's configured via /lib/sysctl.d/coredump.conf, which is kind of
sneaky. If you want to disable coredump collection in the journal:

  ln -s /dev/null /etc/sysctl.d/coredump.conf

And then reapply sysctl settings:

  /lib/systemd/systemd-sysctl

d


More information about the arch-general mailing list