diff --git a/crashkernel-howto.txt b/crashkernel-howto.txt index 54e11416..2e99a34e 100644 --- a/crashkernel-howto.txt +++ b/crashkernel-howto.txt @@ -65,13 +65,13 @@ Reset using kdumpctl To make it easier to reset the `crashkernel=` kernel cmdline to this default value properly, `kdumpctl` also provides a sub-command: - `kdumpctl reset-crashkernel [--kernel=path_to_kernel] [--reboot]` + `kdumpctl reset-crashkernel [--kernel=path_to_kernel]` This command will reset the bootloader's kernel cmdline to the default value. It will also update bootloader config if the bootloader has a standalone config file. User will have to reboot the machine after this command to make it take -effect if --reboot is not specified. For more details, please refer to the -reset-crashkernel command in `man kdumpctl`. +effect. For more details, please refer to the reset-crashkernel command in `man +kdumpctl`. Reset manually -------------- diff --git a/kdumpctl b/kdumpctl index 0140eeb9..6dda4eab 100755 --- a/kdumpctl +++ b/kdumpctl @@ -1494,6 +1494,10 @@ reset_crashkernel() _grubby_kernel_path=$_val ;; --reboot) + # --reboot option was deprecated with + # kdump-utils v1.0.45. Keep the code for now to + # not break any user setup. + dwarn "Option --reboot is deprecated and will be removed in the future." _reboot=yes ;; *) diff --git a/kdumpctl.8 b/kdumpctl.8 index f6a7070c..07a29c73 100644 --- a/kdumpctl.8 +++ b/kdumpctl.8 @@ -53,7 +53,7 @@ based on the current kdump setup, and list some details of memory usage. .I get-default-crashkernel Return the default crashkernel value provided by kexec-tools. .TP -.I reset-crashkernel [--kernel=path_to_kernel] [--reboot] +.I reset-crashkernel [--kernel=path_to_kernel] Reset crashkernel to default value recommended by kexec-tools. If no kernel is specified, will reset KDUMP_KERNELVER if it's defined in /etc/sysconfig/kdump or the current running kernel's crashkernel value if KDUMP_KERNELVER is empty. You can @@ -62,10 +62,6 @@ grubby's kernel-path=ALL and kernel-path=DEFAULT. ppc64le supports FADump and supports an additional [--fadump=[on|off|nocma]] parameter to toggle FADump on/off. -If the optional parameter [--reboot] is provided the system will automatically -reboot for changes to take effect. If no changes were made to the kernel -command line the reboot is omitted. - Note: The memory requirements for kdump varies heavily depending on the used hardware and system configuration. Thus the recommended crashkernel might not work for your specific setup. Please test if