diff options
author | Franck Bui <fbui@suse.com> | 2018-10-08 16:09:59 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-10-09 10:26:23 +0200 |
commit | c6885f5f36ec299d2ebd5d49d03b2cee37cf8e88 (patch) | |
tree | 9d8e0dd92d2c7861f919ee6f90e8260c1b757dfd /man/kernel-command-line.xml | |
parent | terminal-util: extra safety checks when parsing $COLUMNS or $LINES (#10314) (diff) | |
download | systemd-c6885f5f36ec299d2ebd5d49d03b2cee37cf8e88.tar.xz systemd-c6885f5f36ec299d2ebd5d49d03b2cee37cf8e88.zip |
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.
Diffstat (limited to 'man/kernel-command-line.xml')
-rw-r--r-- | man/kernel-command-line.xml | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ <term><varname>systemd.unit=</varname></term> <term><varname>rd.systemd.unit=</varname></term> <term><varname>systemd.dump_core</varname></term> + <term><varname>systemd.early_core_pattern=</varname></term> <term><varname>systemd.crash_chvt</varname></term> <term><varname>systemd.crash_shell</varname></term> <term><varname>systemd.crash_reboot</varname></term> @@ -91,6 +92,16 @@ </varlistentry> <varlistentry> + <term><varname>systemd.early_core_pattern=</varname></term> + <listitem> + <para>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 + <citerefentry><refentrytitle>core</refentrytitle><manvolnum>5</manvolnum></citerefentry> for details.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><varname>systemd.restore_state=</varname></term> <listitem> <para>This parameter is understood by several system tools |