]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/main.c
core: introduce systemd.early_core_pattern= kernel cmdline option
authorFranck Bui <fbui@suse.com>
Mon, 8 Oct 2018 14:09:59 +0000 (16:09 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 9 Oct 2018 08:26:23 +0000 (10:26 +0200)
commitc6885f5f36ec299d2ebd5d49d03b2cee37cf8e88
tree9d8e0dd92d2c7861f919ee6f90e8260c1b757dfd
parentd09a71356e3ed78be7cef3cd7d9919dc77508b41
core: introduce systemd.early_core_pattern= kernel cmdline option

Until a core dump handler is installed by systemd-sysctl, the generation of
core dump for services is turned OFF which can make the debugging of the early
boot process harder especially since there's no easy way to restore the core
dump generation.

This patch introduces a new kernel command line option which specifies an
absolute path where the kernel should write the core dump file when an early
process crashes.

This will take effect until systemd-coredump (or any other handlers) takes
over.
man/kernel-command-line.xml
src/core/main.c