introduce the auto_reset_crashkernel option to kdump.conf

Resolves: bz1895258
Upstream: Fedora
Conflict: None

commit 73ced7f451
Author: Coiby Xu <coxu@redhat.com>
Date:   Mon Nov 15 15:45:59 2021 +0800

    introduce the auto_reset_crashkernel option to kdump.conf

    This option will determine whether to reset kernel crashkernel
    to new default value or not when kexec-tools updates the default
    crashkernel value and existing kernels using the old default kernel
    crashkernel value. Default to yes.

    Reviewed-by: Pingfan Liu <piliu@redhat.com>
    Reviewed-by: Philipp Rudo <prudo@redhat.com>
    Signed-off-by: Coiby Xu <coxu@redhat.com>

Signed-off-by: Coiby Xu <coxu@redhat.com>
This commit is contained in:
Coiby Xu 2022-01-05 11:53:09 +08:00 committed by Tao Liu
parent 3f828198af
commit 7ac560ef9b
2 changed files with 13 additions and 0 deletions

View File

@ -11,6 +11,12 @@
# #
# Supported options: # Supported options:
# #
# auto_reset_crashkernel <yes|no>
# - whether to reset kernel crashkernel to new default value
# or not when kexec-tools updates the default crashkernel value and
# existing kernels using the old default kernel crashkernel value.
# The default value is yes.
#
# raw <partition> # raw <partition>
# - Will dd /proc/vmcore into <partition>. # - Will dd /proc/vmcore into <partition>.
# Use persistent device names for partition devices, # Use persistent device names for partition devices,
@ -170,6 +176,7 @@
#ssh user@my.server.com #ssh user@my.server.com
#ssh user@2001:db8::1:2:3:4 #ssh user@2001:db8::1:2:3:4
#sshkey /root/.ssh/kdump_id_rsa #sshkey /root/.ssh/kdump_id_rsa
auto_reset_crashkernel yes
path /var/crash path /var/crash
core_collector makedumpfile -l --message-level 7 -d 31 core_collector makedumpfile -l --message-level 7 -d 31
#core_collector scp #core_collector scp

View File

@ -26,6 +26,12 @@ understand how this configuration file affects the behavior of kdump.
.SH OPTIONS .SH OPTIONS
.B auto_reset_crashkernel <yes|no>
.RS
determine whether to reset kernel crashkernel to new default value
or not when kexec-tools updates the default crashkernel value and
existing kernels using the old default kernel crashkernel value
.B raw <partition> .B raw <partition>
.RS .RS
Will dd /proc/vmcore into <partition>. Use persistent device names for Will dd /proc/vmcore into <partition>. Use persistent device names for