[arch-general] systemd and core dumps
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
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
On Tue, Dec 11, 2012 at 5:24 AM, Olivier Langlois <olivier@olivierlanglois.net> 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
Make /etc/sysctl.d/coredump.conf a link to /dev/null. This will override /usr/lib/sysctl.d/coredump.conf.
participants (3)
-
Dave Reisner
-
Jan Steffens
-
Olivier Langlois