kdump.conf default default action fix
If default action is not set kdump will by default dump to root fs Fix kdump.conf[.5] about this issue Signed-off-by: Dave Young <dyoung@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
d028b8e385
commit
3bab7bf251
@ -53,8 +53,9 @@
|
|||||||
# dependent modules will automatically be included.
|
# dependent modules will automatically be included.
|
||||||
#
|
#
|
||||||
# default <reboot | halt | poweroff | shell>
|
# default <reboot | halt | poweroff | shell>
|
||||||
# - Action to preform instead of mounting root fs and
|
# - Action to preform in case dumping to intended target
|
||||||
# running init process
|
# fails. If no default action is specified saving vmcore
|
||||||
|
# to root fs is assumed default.
|
||||||
# reboot: If the default action is reboot simply reboot
|
# reboot: If the default action is reboot simply reboot
|
||||||
# the system and loose the core that you are
|
# the system and loose the core that you are
|
||||||
# trying to retrieve.
|
# trying to retrieve.
|
||||||
@ -66,8 +67,6 @@
|
|||||||
# an msh session inside the initramfs from
|
# an msh session inside the initramfs from
|
||||||
# where you can try to record the core manually.
|
# where you can try to record the core manually.
|
||||||
# Exiting this shell reboots the system.
|
# Exiting this shell reboots the system.
|
||||||
# NOTE: If no default action is specified, the initramfs
|
|
||||||
# will mount the root file system and run init.
|
|
||||||
|
|
||||||
#raw /dev/sda5
|
#raw /dev/sda5
|
||||||
#ext4 /dev/sda3
|
#ext4 /dev/sda3
|
||||||
|
@ -96,17 +96,13 @@ dependent modules will automatically be included.
|
|||||||
|
|
||||||
.B default <reboot | halt | shell>
|
.B default <reboot | halt | shell>
|
||||||
.RS
|
.RS
|
||||||
Action to preform instead of mounting root fs and running init process
|
Action to preform in case dumping to intended target fails. If no default
|
||||||
|
action is specified saving vmcore to root fs is assumed default.
|
||||||
reboot: If the default action is reboot simply reboot the system (this is what
|
reboot: If the default action is reboot simply reboot the system (this is what
|
||||||
most people will want, as it returns the system to a nominal state). shell: If the default
|
most people will want, as it returns the system to a nominal state). shell: If the default
|
||||||
action is shell, then drop to an msh session inside the initramfs from
|
action is shell, then drop to an msh session inside the initramfs from
|
||||||
where you can manually preform additional recovery actions. Exiting this shell
|
where you can manually preform additional recovery actions. Exiting this shell
|
||||||
reboots the system. halt: bring the system to a halt, requiring manual reset
|
reboots the system. halt: bring the system to a halt, requiring manual reset
|
||||||
NOTE: Since kdump.conf is only used to configure the kdump initramfs
|
|
||||||
specifying a default action without also specifying a dump target
|
|
||||||
will cause the default directive to be ignored. A warning will be issued
|
|
||||||
on service start if this invalid configuration is specified. Also note that if
|
|
||||||
no default action is specified, reboot is implied.
|
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
|
Loading…
Reference in New Issue
Block a user