From c6885f5f36ec299d2ebd5d49d03b2cee37cf8e88 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Mon, 8 Oct 2018 16:09:59 +0200 Subject: 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'man/kernel-command-line.xml') diff --git a/man/kernel-command-line.xml b/man/kernel-command-line.xml index 0545f9d84b..43b3a3667e 100644 --- a/man/kernel-command-line.xml +++ b/man/kernel-command-line.xml @@ -55,6 +55,7 @@ systemd.unit= rd.systemd.unit= systemd.dump_core + systemd.early_core_pattern= systemd.crash_chvt systemd.crash_shell systemd.crash_reboot @@ -90,6 +91,16 @@ + + systemd.early_core_pattern= + + During early boot, the generation of core dump files is disabled until a core dump handler (if any) + takes over. This parameter allows to specifies an absolute path where core dump files should be stored until + a handler is installed. The path should be absolute and may contain specifiers, see + core5 for details. + + + systemd.restore_state= -- cgit v1.2.1