Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 901676 Details for
Bug 1028397
kdump asks for luks password, when encrypted fs mountable
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
kdumpctl/mkdumprd trace
kdumpctl.out (text/plain), 75.51 KB, created by
Jeremy Harris
on 2014-06-03 08:59:10 UTC
(
hide
)
Description:
kdumpctl/mkdumprd trace
Filename:
MIME Type:
Creator:
Jeremy Harris
Created:
2014-06-03 08:59:10 UTC
Size:
75.51 KB
patch
obsolete
>+ KEXEC=/sbin/kexec >+ KDUMP_KERNELVER= >+ KDUMP_COMMANDLINE= >+ KEXEC_ARGS= >+ KDUMP_CONFIG_FILE=/etc/kdump.conf >+ MKDUMPRD='/sbin/mkdumprd -f' >+ SAVE_PATH=/var/crash >+ SSH_KEY_LOCATION=/root/.ssh/kdump_id_rsa >+ DUMP_TARGET= >+ . /lib/kdump/kdump-lib.sh >++ FENCE_KDUMP_CONFIG_FILE=/etc/sysconfig/fence_kdump >++ FENCE_KDUMP_SEND=/usr/libexec/fence_kdump_send >+ standard_kexec_args=-p >+ '[' -f /etc/sysconfig/kdump ']' >+ . /etc/sysconfig/kdump >++ KDUMP_KERNELVER= >++ KDUMP_COMMANDLINE= >++ KDUMP_COMMANDLINE_APPEND='irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail' >++ KEXEC_ARGS= >++ KDUMP_BOOTDIR=/boot >++ KDUMP_IMG=vmlinuz >++ KDUMP_IMG_EXT= >+ '[' '!' -f /etc/kdump.conf ']' >+ single_instance_lock >+ exec >+ flock 9 >+ exec >+ main restart >+ case "$1" in >+ stop >+ /sbin/kexec -p -u >Memory for crashkernel is not reserved >Please reserve memory by passing "crashkernel=X@Y" parameter to the kernel >+ '[' 1 == 0 ']' >+ echo 'kexec: failed to unloaded kdump kernel' >kexec: failed to unloaded kdump kernel >+ echo 'Stopping kdump: [FAILED]' >Stopping kdump: [FAILED] >+ return 1 >+ start >+ check_config >+ local nr >++ awk 'BEGIN{cnt=0} /^raw|^ssh[[:blank:]]|^nfs|^ext[234]|^xfs|^btrfs|^minix/{cnt++} END{print cnt}' /etc/kdump.conf >+ nr=0 >+ '[' 0 -gt 1 ']' >+ read config_opt config_val >++ strip_comments Configures where to put the kdump /proc/vmcore files >++ echo Configures where to put the kdump /proc/vmcore files >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Configures where to put the kdump /proc/vmcore files' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments This file contains a series of commands to perform '(in' 'order)' when a >++ echo This file contains a series of commands to perform '(in' 'order)' when a >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='This file contains a series of commands to perform (in order) when a' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments kernel crash has happened and the kdump kernel has been loaded. Directives in >++ echo kernel crash has happened and the kdump kernel has been loaded. Directives in >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='kernel crash has happened and the kdump kernel has been loaded. Directives in' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments this file are only applicable to the kdump initramfs, and have no effect if >++ sed -e 's/\(.*\)#.*/\1/' >++ echo this file are only applicable to the kdump initramfs, and have no effect if >+ config_val='this file are only applicable to the kdump initramfs, and have no effect if' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments the root filesystem is mounted and the normal init scripts are processed >++ echo the root filesystem is mounted and the normal init scripts are processed >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='the root filesystem is mounted and the normal init scripts are processed' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Currently only one dump target and path may be configured at once >++ echo Currently only one dump target and path may be configured at once >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Currently only one dump target and path may be configured at once' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments if the configured dump target fails, the default action will be preformed >++ echo if the configured dump target fails, the default action will be preformed >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='if the configured dump target fails, the default action will be preformed' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments the default action may be configured with the default directive below. If the >++ echo the default action may be configured with the default directive below. If the >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='the default action may be configured with the default directive below. If the' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments configured dump target succedes >++ echo configured dump target succedes >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='configured dump target succedes' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Basics commands supported are: >++ echo Basics commands supported are: >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Basics commands supported are:' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments raw '<partition>' - Will dd /proc/vmcore into '<partition>.' >++ echo raw '<partition>' - Will dd /proc/vmcore into '<partition>.' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='raw <partition> - Will dd /proc/vmcore into <partition>.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Use persistent device names for partition devices, >++ echo Use persistent device names for partition devices, >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Use persistent device names for partition devices,' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments such as '/dev/vg/<devname>.' >++ echo such as '/dev/vg/<devname>.' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='such as /dev/vg/<devname>.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments nfs '<nfs' 'mount>' - Will mount fs and copy /proc/vmcore to >++ echo nfs '<nfs' 'mount>' - Will mount fs and copy /proc/vmcore to >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='nfs <nfs mount> - Will mount fs and copy /proc/vmcore to' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments '<mnt>/var/crash/%HOST-%DATE/,' supports DNS. >++ echo '<mnt>/var/crash/%HOST-%DATE/,' supports DNS. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='<mnt>/var/crash/%HOST-%DATE/, supports DNS.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments ssh '<user@server>' - Will scp /proc/vmcore to >++ echo ssh '<user@server>' - Will scp /proc/vmcore to >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='ssh <user@server> - Will scp /proc/vmcore to' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments '<user@server>:/var/crash/%HOST-%DATE/,' supports DNS >++ echo '<user@server>:/var/crash/%HOST-%DATE/,' supports DNS >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='<user@server>:/var/crash/%HOST-%DATE/, supports DNS' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments NOTE: make sure user has necessary write >++ echo NOTE: make sure user has necessary write >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='NOTE: make sure user has necessary write' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments permissions on server >++ echo permissions on server >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='permissions on server' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments sshkey '<path>' - Will use the sshkey to do ssh dump >++ echo sshkey '<path>' - Will use the sshkey to do ssh dump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='sshkey <path> - Will use the sshkey to do ssh dump' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Specifies the path of the ssh key you want to use >++ echo Specifies the path of the ssh key you want to use >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Specifies the path of the ssh key you want to use' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments when do ssh dump, the default value is >++ echo when do ssh dump, the default value is >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='when do ssh dump, the default value is' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /root/.ssh/kdump_id_rsa. >++ echo /root/.ssh/kdump_id_rsa. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/root/.ssh/kdump_id_rsa. >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments '<fs' 'type>' '<partition>' - Will mount -t '<fs' 'type>' '<partition>' /mnt and copy >++ echo '<fs' 'type>' '<partition>' - Will mount -t '<fs' 'type>' '<partition>' /mnt and copy >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='<fs type> <partition> - Will mount -t <fs type> <partition> /mnt and copy' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /proc/vmcore to /mnt/var/crash/%DATE/. >++ echo /proc/vmcore to /mnt/var/crash/%DATE/. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='/proc/vmcore to /mnt/var/crash/%DATE/.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments NOTE: '<partition>' can be a device node, label or uuid. >++ echo NOTE: '<partition>' can be a device node, label or uuid. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='NOTE: <partition> can be a device node, label or uuid.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments 'It'\''s' recommended to use persistent device names >++ echo 'It'\''s' recommended to use persistent device names >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='It'\''s recommended to use persistent device names' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments such as '/dev/vg/<devname>.' >++ echo such as '/dev/vg/<devname>.' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='such as /dev/vg/<devname>.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Otherwise 'it'\''s' suggested to use label or uuid. >++ echo Otherwise 'it'\''s' suggested to use label or uuid. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Otherwise it'\''s suggested to use label or uuid.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments path '<path>' - Append path to the filesystem device which you are >++ echo path '<path>' - Append path to the filesystem device which you are >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='path <path> - Append path to the filesystem device which you are' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments dumping to. Ignored for raw device dumps. >++ echo dumping to. Ignored for raw device dumps. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='dumping to. Ignored for raw device dumps.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments If unset, will default to /var/crash. >++ echo If unset, will default to /var/crash. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='If unset, will default to /var/crash.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments core_collector '<command>' '<options>' >++ echo core_collector '<command>' '<options>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='core_collector <command> <options>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - This allows you to specify the command to copy >++ echo - This allows you to specify the command to copy >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- This allows you to specify the command to copy' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments the vmcore. You could use the dump filtering >++ echo the vmcore. You could use the dump filtering >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='the vmcore. You could use the dump filtering' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments program makedumpfile, the default one, to retrieve >++ echo program makedumpfile, the default one, to retrieve >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='program makedumpfile, the default one, to retrieve' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments your core, which on some arches can drastically >++ echo your core, which on some arches can drastically >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='your core, which on some arches can drastically' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments reduce core file size. See /sbin/makedumpfile --help >++ echo reduce core file size. See /sbin/makedumpfile --help >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='reduce core file size. See /sbin/makedumpfile --help' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments for a list of options. Note that the -i and -g >++ echo for a list of options. Note that the -i and -g >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='for a list of options. Note that the -i and -g' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments options are not needed here, as the initrd will >++ echo options are not needed here, as the initrd will >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='options are not needed here, as the initrd will' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments automatically be populated with a config file >++ echo automatically be populated with a config file >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='automatically be populated with a config file' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments appropriate for the running kernel. >++ echo appropriate for the running kernel. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='appropriate for the running kernel.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Default core_collector for raw/ssh dump is: >++ echo Default core_collector for raw/ssh dump is: >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Default core_collector for raw/ssh dump is:' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments '"makedumpfile' -F -l --message-level 1 -d '31".' >++ echo '"makedumpfile' -F -l --message-level 1 -d '31".' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='"makedumpfile -F -l --message-level 1 -d 31".' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Default core_collector for other targets is: >++ echo Default core_collector for other targets is: >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Default core_collector for other targets is:' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments '"makedumpfile' -l --message-level 1 -d '31".' >++ echo '"makedumpfile' -l --message-level 1 -d '31".' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='"makedumpfile -l --message-level 1 -d 31".' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments For core_collector format details please refer to >++ echo For core_collector format details please refer to >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='For core_collector format details please refer to' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments kexec-kdump-howto.txt or kdump.conf manpage. >++ echo kexec-kdump-howto.txt or kdump.conf manpage. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='kexec-kdump-howto.txt or kdump.conf manpage.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments kdump_post '<binary' '|' 'script>' >++ echo kdump_post '<binary' '|' 'script>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='kdump_post <binary | script>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - This directive allows you to run a specified >++ echo - This directive allows you to run a specified >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- This directive allows you to run a specified' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments executable just after the memory dump process >++ echo executable just after the memory dump process >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='executable just after the memory dump process' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments terminates. The exit status from the dump process >++ echo terminates. The exit status from the dump process >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='terminates. The exit status from the dump process' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments is fed to the kdump_post executable, which can be >++ echo is fed to the kdump_post executable, which can be >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='is fed to the kdump_post executable, which can be' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments used to trigger different actions for success or >++ echo used to trigger different actions for success or >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='used to trigger different actions for success or' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments failure. >++ echo failure. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=failure. >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments kdump_pre '<binary' '|' 'script>' >++ echo kdump_pre '<binary' '|' 'script>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='kdump_pre <binary | script>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - works just like the kdump_post directive, but instead >++ echo - works just like the kdump_post directive, but instead >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- works just like the kdump_post directive, but instead' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments of running after the dump process, runs immediately >++ echo of running after the dump process, runs immediately >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='of running after the dump process, runs immediately' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments before. Exit status of this binary is interpreted >++ echo before. Exit status of this binary is interpreted >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='before. Exit status of this binary is interpreted' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments as follows: >++ echo as follows: >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='as follows:' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments 0 - continue with dump process as usual >++ echo 0 - continue with dump process as usual >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='0 - continue with dump process as usual' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments non 0 - reboot the system >++ echo non 0 - reboot the system >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='non 0 - reboot the system' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments extra_bins '<binaries' '|' shell 'scripts>' >++ echo extra_bins '<binaries' '|' shell 'scripts>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='extra_bins <binaries | shell scripts>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - This directive allows you to specify additional >++ echo - This directive allows you to specify additional >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- This directive allows you to specify additional' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments binaries or shell scripts 'you'\''d' like to include in >++ echo binaries or shell scripts 'you'\''d' like to include in >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='binaries or shell scripts you'\''d like to include in' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments your kdump initrd. Generally only useful in >++ echo your kdump initrd. Generally only useful in >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='your kdump initrd. Generally only useful in' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments conjunction with a kdump_post binary or script that >++ echo conjunction with a kdump_post binary or script that >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='conjunction with a kdump_post binary or script that' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments relies on other binaries or scripts. >++ echo relies on other binaries or scripts. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='relies on other binaries or scripts.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments extra_modules '<module(s)>' >++ echo extra_modules '<module(s)>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='extra_modules <module(s)>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - This directive allows you to specify extra kernel >++ echo - This directive allows you to specify extra kernel >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- This directive allows you to specify extra kernel' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments modules that you want to be loaded in the kdump >++ echo modules that you want to be loaded in the kdump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='modules that you want to be loaded in the kdump' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments initrd, typically used to set up access to >++ echo initrd, typically used to set up access to >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='initrd, typically used to set up access to' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments non-boot-path dump targets that might otherwise >++ echo non-boot-path dump targets that might otherwise >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='non-boot-path dump targets that might otherwise' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments not be accessible in the kdump environment. Multiple >++ echo not be accessible in the kdump environment. Multiple >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='not be accessible in the kdump environment. Multiple' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments modules can be listed, separated by a space, and any >++ echo modules can be listed, separated by a space, and any >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='modules can be listed, separated by a space, and any' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments dependent modules will automatically be included. >++ echo dependent modules will automatically be included. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='dependent modules will automatically be included.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments default '<reboot' '|' halt '|' poweroff '|' shell '|' 'dump_to_rootfs>' >++ echo default '<reboot' '|' halt '|' poweroff '|' shell '|' 'dump_to_rootfs>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='default <reboot | halt | poweroff | shell | dump_to_rootfs>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - Action to preform in case dumping to intended target >++ echo - Action to preform in case dumping to intended target >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- Action to preform in case dumping to intended target' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments fails. If no default action is specified, '"reboot"' >++ echo fails. If no default action is specified, '"reboot"' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='fails. If no default action is specified, "reboot"' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments is assumed default. >++ echo is assumed default. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='is assumed default.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments reboot: If the default action is reboot simply reboot >++ echo reboot: If the default action is reboot simply reboot >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='reboot: If the default action is reboot simply reboot' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments the system and loose the core that you are >++ echo the system and loose the core that you are >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='the system and loose the core that you are' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments trying to retrieve. >++ echo trying to retrieve. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='trying to retrieve.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments halt: If the default action is halt, then simply >++ echo halt: If the default action is halt, then simply >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='halt: If the default action is halt, then simply' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments halt the system after attempting to capture >++ echo halt the system after attempting to capture >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='halt the system after attempting to capture' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments a vmcore, regardless of success or failure. >++ echo a vmcore, regardless of success or failure. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='a vmcore, regardless of success or failure.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments poweroff: The system will be powered down >++ echo poweroff: The system will be powered down >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='poweroff: The system will be powered down' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments shell: If the default action is shell, then drop to >++ echo shell: If the default action is shell, then drop to >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='shell: If the default action is shell, then drop to' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments an shell session inside the initramfs from >++ echo an shell session inside the initramfs from >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='an shell session inside the initramfs from' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments where you can try to record the core manually. >++ echo where you can try to record the core manually. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='where you can try to record the core manually.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Exiting this shell reboots the system. >++ echo Exiting this shell reboots the system. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Exiting this shell reboots the system.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Note: kdump uses bash as the default shell. >++ echo Note: kdump uses bash as the default shell. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Note: kdump uses bash as the default shell.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments dump_to_rootfs: If non-root dump target is specified, >++ echo dump_to_rootfs: If non-root dump target is specified, >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='dump_to_rootfs: If non-root dump target is specified,' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments the default action can be set as dump_to_rootfs. >++ echo the default action can be set as dump_to_rootfs. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='the default action can be set as dump_to_rootfs.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments That means when dump to target fails, dump vmcore >++ echo That means when dump to target fails, dump vmcore >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='That means when dump to target fails, dump vmcore' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments to rootfs from initramfs context and reboot. >++ echo to rootfs from initramfs context and reboot. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='to rootfs from initramfs context and reboot.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments force_rebuild '<0' '|' '1>' >++ echo force_rebuild '<0' '|' '1>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='force_rebuild <0 | 1>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - By default, kdump initrd only will be rebuilt when >++ echo - By default, kdump initrd only will be rebuilt when >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- By default, kdump initrd only will be rebuilt when' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments necessary. Specify 1 to force rebuilding kdump >++ echo necessary. Specify 1 to force rebuilding kdump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='necessary. Specify 1 to force rebuilding kdump' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments initrd every time when kdump service starts. >++ echo initrd every time when kdump service starts. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='initrd every time when kdump service starts.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments '<0' '|' '1>' >++ echo '<0' '|' '1>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='<0 | 1>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - Usually a unresettable block device 'can'\''t' be dump target. >++ echo - Usually a unresettable block device 'can'\''t' be dump target. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- Usually a unresettable block device can'\''t be dump target.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Specifying 1 means though block target is unresettable, user >++ echo Specifying 1 means though block target is unresettable, user >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Specifying 1 means though block target is unresettable, user' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments understand this situation and want to try dumping. By default, >++ echo understand this situation and want to try dumping. By default, >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='understand this situation and want to try dumping. By default,' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments 'it'\''s' set to 0, means not to try a destined failure. >++ echo 'it'\''s' set to 0, means not to try a destined failure. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='it'\''s set to 0, means not to try a destined failure.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments dracut_args '<arg(s)>' >++ echo dracut_args '<arg(s)>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='dracut_args <arg(s)>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - Pass extra dracut options when rebuilding kdump >++ echo - Pass extra dracut options when rebuilding kdump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- Pass extra dracut options when rebuilding kdump' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments initrd. >++ echo initrd. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=initrd. >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments fence_kdump_args '<arg(s)>' >++ echo fence_kdump_args '<arg(s)>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='fence_kdump_args <arg(s)>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - Command line arguments for fence_kdump_send '(it' can contain >++ echo - Command line arguments for fence_kdump_send '(it' can contain >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- Command line arguments for fence_kdump_send (it can contain' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments all valid arguments except hosts to send notification 'to).' >++ echo all valid arguments except hosts to send notification 'to).' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='all valid arguments except hosts to send notification to).' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments fence_kdump_nodes '<node(s)>' >++ echo fence_kdump_nodes '<node(s)>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='fence_kdump_nodes <node(s)>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - List of cluster 'node(s)' separated by space to send fence_kdump >++ echo - List of cluster 'node(s)' separated by space to send fence_kdump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- List of cluster node(s) separated by space to send fence_kdump' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments notification to '(this' option is mandatory to enable 'fence_kdump).' >++ echo notification to '(this' option is mandatory to enable 'fence_kdump).' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='notification to (this option is mandatory to enable fence_kdump).' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /dev/vg/lv_kdump >++ echo /dev/vg/lv_kdump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/dev/vg/lv_kdump >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /dev/vg/lv_kdump >++ echo /dev/vg/lv_kdump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/dev/vg/lv_kdump >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments LABEL=/boot >++ echo LABEL=/boot >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=LABEL=/boot >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments UUID=03138356-5e61-4ab3-b58e-27507ac41937 >++ echo UUID=03138356-5e61-4ab3-b58e-27507ac41937 >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=UUID=03138356-5e61-4ab3-b58e-27507ac41937 >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments my.server.com:/export/tmp >++ echo my.server.com:/export/tmp >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=my.server.com:/export/tmp >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments user@my.server.com >++ echo user@my.server.com >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=user@my.server.com >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /root/.ssh/kdump_id_rsa >++ echo /root/.ssh/kdump_id_rsa >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/root/.ssh/kdump_id_rsa >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /var/crash >++ echo /var/crash >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/var/crash >+ case "$config_opt" in >+ '[' -z /var/crash ']' >+ read config_opt config_val >++ strip_comments makedumpfile -l --message-level 1 -d 31 >++ echo makedumpfile -l --message-level 1 -d 31 >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='makedumpfile -l --message-level 1 -d 31' >+ case "$config_opt" in >+ '[' -z 'makedumpfile -l --message-level 1 -d 31' ']' >+ read config_opt config_val >++ strip_comments scp >++ echo scp >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=scp >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /var/crash/scripts/kdump-post.sh >++ echo /var/crash/scripts/kdump-post.sh >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/var/crash/scripts/kdump-post.sh >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /var/crash/scripts/kdump-pre.sh >++ echo /var/crash/scripts/kdump-pre.sh >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/var/crash/scripts/kdump-pre.sh >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /usr/bin/lftp >++ echo /usr/bin/lftp >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/usr/bin/lftp >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments gfs2 >++ echo gfs2 >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=gfs2 >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments shell >++ echo shell >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=shell >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments 1 >++ echo 1 >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=1 >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments --omit-drivers '"cfg80211' 'snd"' --add-drivers '"ext2' 'ext3"' >++ echo --omit-drivers '"cfg80211' 'snd"' --add-drivers '"ext2' 'ext3"' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='--omit-drivers "cfg80211 snd" --add-drivers "ext2 ext3"' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments -p 7410 -f auto -c 0 -i 10 >++ echo -p 7410 -f auto -c 0 -i 10 >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='-p 7410 -f auto -c 0 -i 10' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments node1 node2 >++ echo node1 node2 >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='node1 node2' >+ case "$config_opt" in >+ read config_opt config_val >+ check_fence_kdump_config >++ hostname >+ local hostname=lap.dom.ain >++ get_option_value fence_kdump_nodes >++++ grep '^fence_kdump_nodes' /etc/kdump.conf >++++ tail -1 >++++ cut '-d ' -f2- >+++ strip_comments >+++ echo >+++ sed -e 's/\(.*\)#.*/\1/' >++ echo >+ local nodes= >+ return 0 >+ return 0 >+ '[' 0 -ne 0 ']' >+ sestatus >+ grep -q 'SELinux status.*enabled' >+ selinux_relabel >+ local _path _i _attr >++ path_to_be_relabeled >++ local _path _target _mnt=/ _rmnt >++ is_dump_target_configured >++ local _target >+++ egrep '^ext[234]|^xfs|^btrfs|^minix|^raw|^ssh|^nfs' /etc/kdump.conf >++ _target= >++ '[' -n '' ']' >+++ get_save_path >++++ grep '^path' /etc/kdump.conf >++++ awk '{print $2}' >+++ local _save_path=/var/crash >+++ '[' -z /var/crash ']' >+++ echo /var/crash >++ _path=/var/crash >+++ df ///var/crash >+++ tail -1 >+++ awk '{ print $NF }' >++ _rmnt=/ >++ '[' / == / ']' >++ echo ///var/crash >+ _path=///var/crash >+ '[' -z ///var/crash ']' >+ '[' -d ///var/crash ']' >++ find ///var/crash >+ for _i in '$(find $_path)' >++ getfattr -m security.selinux ///var/crash >+ _attr='# file: var/crash >security.selinux' >+ '[' -z '# file: var/crash >security.selinux' ']' >+ save_raw >+ local kdump_dir >+ local raw_target >++ awk '$1 ~ /^raw$/ { print $2; }' /etc/kdump.conf >+ raw_target= >+ '[' -z '' ']' >+ return 0 >+ '[' 0 -ne 0 ']' >+ check_kdump_feasibility >+ is_secure_boot_enforced >+ local secure_boot_file setup_mode_file >+ local secure_boot_byte setup_mode_byte >++ find /sys/firmware/efi/efivars -name 'SecureBoot-*' >+ secure_boot_file= >++ find /sys/firmware/efi/efivars -name 'SetupMode-*' >+ setup_mode_file= >+ '[' -f '' ']' >+ return 1 >+ '[' '!' -e /sys/kernel/kexec_crash_loaded ']' >+ '[' 0 -ne 0 ']' >+ check_current_kdump_status >++ cat /sys/kernel/kexec_crash_loaded >+ rc=0 >+ '[' 0 == 1 ']' >+ return 1 >+ '[' 1 == 0 ']' >+ check_ssh_config >+ read config_opt config_val >++ strip_comments Configures where to put the kdump /proc/vmcore files >++ echo Configures where to put the kdump /proc/vmcore files >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Configures where to put the kdump /proc/vmcore files' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments This file contains a series of commands to perform '(in' 'order)' when a >++ echo This file contains a series of commands to perform '(in' 'order)' when a >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='This file contains a series of commands to perform (in order) when a' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments kernel crash has happened and the kdump kernel has been loaded. Directives in >++ echo kernel crash has happened and the kdump kernel has been loaded. Directives in >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='kernel crash has happened and the kdump kernel has been loaded. Directives in' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments this file are only applicable to the kdump initramfs, and have no effect if >++ echo this file are only applicable to the kdump initramfs, and have no effect if >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='this file are only applicable to the kdump initramfs, and have no effect if' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments the root filesystem is mounted and the normal init scripts are processed >++ echo the root filesystem is mounted and the normal init scripts are processed >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='the root filesystem is mounted and the normal init scripts are processed' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Currently only one dump target and path may be configured at once >++ echo Currently only one dump target and path may be configured at once >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Currently only one dump target and path may be configured at once' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments if the configured dump target fails, the default action will be preformed >++ echo if the configured dump target fails, the default action will be preformed >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='if the configured dump target fails, the default action will be preformed' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments the default action may be configured with the default directive below. If the >++ echo the default action may be configured with the default directive below. If the >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='the default action may be configured with the default directive below. If the' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments configured dump target succedes >++ echo configured dump target succedes >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='configured dump target succedes' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Basics commands supported are: >++ echo Basics commands supported are: >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Basics commands supported are:' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments raw '<partition>' - Will dd /proc/vmcore into '<partition>.' >++ echo raw '<partition>' - Will dd /proc/vmcore into '<partition>.' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='raw <partition> - Will dd /proc/vmcore into <partition>.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Use persistent device names for partition devices, >++ echo Use persistent device names for partition devices, >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Use persistent device names for partition devices,' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments such as '/dev/vg/<devname>.' >++ echo such as '/dev/vg/<devname>.' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='such as /dev/vg/<devname>.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments nfs '<nfs' 'mount>' - Will mount fs and copy /proc/vmcore to >++ echo nfs '<nfs' 'mount>' - Will mount fs and copy /proc/vmcore to >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='nfs <nfs mount> - Will mount fs and copy /proc/vmcore to' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments '<mnt>/var/crash/%HOST-%DATE/,' supports DNS. >++ echo '<mnt>/var/crash/%HOST-%DATE/,' supports DNS. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='<mnt>/var/crash/%HOST-%DATE/, supports DNS.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments ssh '<user@server>' - Will scp /proc/vmcore to >++ echo ssh '<user@server>' - Will scp /proc/vmcore to >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='ssh <user@server> - Will scp /proc/vmcore to' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments '<user@server>:/var/crash/%HOST-%DATE/,' supports DNS >++ echo '<user@server>:/var/crash/%HOST-%DATE/,' supports DNS >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='<user@server>:/var/crash/%HOST-%DATE/, supports DNS' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments NOTE: make sure user has necessary write >++ echo NOTE: make sure user has necessary write >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='NOTE: make sure user has necessary write' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments permissions on server >++ echo permissions on server >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='permissions on server' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments sshkey '<path>' - Will use the sshkey to do ssh dump >++ echo sshkey '<path>' - Will use the sshkey to do ssh dump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='sshkey <path> - Will use the sshkey to do ssh dump' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Specifies the path of the ssh key you want to use >++ echo Specifies the path of the ssh key you want to use >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Specifies the path of the ssh key you want to use' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments when do ssh dump, the default value is >++ echo when do ssh dump, the default value is >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='when do ssh dump, the default value is' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /root/.ssh/kdump_id_rsa. >++ echo /root/.ssh/kdump_id_rsa. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/root/.ssh/kdump_id_rsa. >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments '<fs' 'type>' '<partition>' - Will mount -t '<fs' 'type>' '<partition>' /mnt and copy >++ echo '<fs' 'type>' '<partition>' - Will mount -t '<fs' 'type>' '<partition>' /mnt and copy >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='<fs type> <partition> - Will mount -t <fs type> <partition> /mnt and copy' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /proc/vmcore to /mnt/var/crash/%DATE/. >++ echo /proc/vmcore to /mnt/var/crash/%DATE/. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='/proc/vmcore to /mnt/var/crash/%DATE/.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments NOTE: '<partition>' can be a device node, label or uuid. >++ echo NOTE: '<partition>' can be a device node, label or uuid. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='NOTE: <partition> can be a device node, label or uuid.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments 'It'\''s' recommended to use persistent device names >++ echo 'It'\''s' recommended to use persistent device names >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='It'\''s recommended to use persistent device names' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments such as '/dev/vg/<devname>.' >++ echo such as '/dev/vg/<devname>.' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='such as /dev/vg/<devname>.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Otherwise 'it'\''s' suggested to use label or uuid. >++ echo Otherwise 'it'\''s' suggested to use label or uuid. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Otherwise it'\''s suggested to use label or uuid.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments path '<path>' - Append path to the filesystem device which you are >++ echo path '<path>' - Append path to the filesystem device which you are >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='path <path> - Append path to the filesystem device which you are' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments dumping to. Ignored for raw device dumps. >++ echo dumping to. Ignored for raw device dumps. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='dumping to. Ignored for raw device dumps.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments If unset, will default to /var/crash. >++ echo If unset, will default to /var/crash. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='If unset, will default to /var/crash.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments core_collector '<command>' '<options>' >++ echo core_collector '<command>' '<options>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='core_collector <command> <options>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - This allows you to specify the command to copy >++ echo - This allows you to specify the command to copy >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- This allows you to specify the command to copy' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments the vmcore. You could use the dump filtering >++ echo the vmcore. You could use the dump filtering >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='the vmcore. You could use the dump filtering' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments program makedumpfile, the default one, to retrieve >++ echo program makedumpfile, the default one, to retrieve >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='program makedumpfile, the default one, to retrieve' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments your core, which on some arches can drastically >++ echo your core, which on some arches can drastically >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='your core, which on some arches can drastically' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments reduce core file size. See /sbin/makedumpfile --help >++ echo reduce core file size. See /sbin/makedumpfile --help >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='reduce core file size. See /sbin/makedumpfile --help' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments for a list of options. Note that the -i and -g >++ echo for a list of options. Note that the -i and -g >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='for a list of options. Note that the -i and -g' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments options are not needed here, as the initrd will >++ echo options are not needed here, as the initrd will >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='options are not needed here, as the initrd will' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments automatically be populated with a config file >++ echo automatically be populated with a config file >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='automatically be populated with a config file' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments appropriate for the running kernel. >++ echo appropriate for the running kernel. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='appropriate for the running kernel.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Default core_collector for raw/ssh dump is: >++ echo Default core_collector for raw/ssh dump is: >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Default core_collector for raw/ssh dump is:' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments '"makedumpfile' -F -l --message-level 1 -d '31".' >++ echo '"makedumpfile' -F -l --message-level 1 -d '31".' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='"makedumpfile -F -l --message-level 1 -d 31".' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Default core_collector for other targets is: >++ echo Default core_collector for other targets is: >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Default core_collector for other targets is:' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments '"makedumpfile' -l --message-level 1 -d '31".' >++ echo '"makedumpfile' -l --message-level 1 -d '31".' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='"makedumpfile -l --message-level 1 -d 31".' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments For core_collector format details please refer to >++ echo For core_collector format details please refer to >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='For core_collector format details please refer to' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments kexec-kdump-howto.txt or kdump.conf manpage. >++ echo kexec-kdump-howto.txt or kdump.conf manpage. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='kexec-kdump-howto.txt or kdump.conf manpage.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments kdump_post '<binary' '|' 'script>' >++ echo kdump_post '<binary' '|' 'script>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='kdump_post <binary | script>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - This directive allows you to run a specified >++ echo - This directive allows you to run a specified >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- This directive allows you to run a specified' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments executable just after the memory dump process >++ echo executable just after the memory dump process >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='executable just after the memory dump process' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments terminates. The exit status from the dump process >++ echo terminates. The exit status from the dump process >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='terminates. The exit status from the dump process' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments is fed to the kdump_post executable, which can be >++ echo is fed to the kdump_post executable, which can be >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='is fed to the kdump_post executable, which can be' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments used to trigger different actions for success or >++ echo used to trigger different actions for success or >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='used to trigger different actions for success or' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments failure. >++ echo failure. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=failure. >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments kdump_pre '<binary' '|' 'script>' >++ echo kdump_pre '<binary' '|' 'script>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='kdump_pre <binary | script>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - works just like the kdump_post directive, but instead >++ echo - works just like the kdump_post directive, but instead >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- works just like the kdump_post directive, but instead' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments of running after the dump process, runs immediately >++ echo of running after the dump process, runs immediately >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='of running after the dump process, runs immediately' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments before. Exit status of this binary is interpreted >++ echo before. Exit status of this binary is interpreted >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='before. Exit status of this binary is interpreted' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments as follows: >++ echo as follows: >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='as follows:' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments 0 - continue with dump process as usual >++ echo 0 - continue with dump process as usual >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='0 - continue with dump process as usual' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments non 0 - reboot the system >++ echo non 0 - reboot the system >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='non 0 - reboot the system' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments extra_bins '<binaries' '|' shell 'scripts>' >++ echo extra_bins '<binaries' '|' shell 'scripts>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='extra_bins <binaries | shell scripts>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - This directive allows you to specify additional >++ echo - This directive allows you to specify additional >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- This directive allows you to specify additional' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments binaries or shell scripts 'you'\''d' like to include in >++ echo binaries or shell scripts 'you'\''d' like to include in >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='binaries or shell scripts you'\''d like to include in' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments your kdump initrd. Generally only useful in >++ echo your kdump initrd. Generally only useful in >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='your kdump initrd. Generally only useful in' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments conjunction with a kdump_post binary or script that >++ echo conjunction with a kdump_post binary or script that >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='conjunction with a kdump_post binary or script that' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments relies on other binaries or scripts. >++ echo relies on other binaries or scripts. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='relies on other binaries or scripts.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments extra_modules '<module(s)>' >++ echo extra_modules '<module(s)>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='extra_modules <module(s)>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - This directive allows you to specify extra kernel >++ echo - This directive allows you to specify extra kernel >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- This directive allows you to specify extra kernel' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments modules that you want to be loaded in the kdump >++ echo modules that you want to be loaded in the kdump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='modules that you want to be loaded in the kdump' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments initrd, typically used to set up access to >++ echo initrd, typically used to set up access to >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='initrd, typically used to set up access to' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments non-boot-path dump targets that might otherwise >++ echo non-boot-path dump targets that might otherwise >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='non-boot-path dump targets that might otherwise' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments not be accessible in the kdump environment. Multiple >++ echo not be accessible in the kdump environment. Multiple >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='not be accessible in the kdump environment. Multiple' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments modules can be listed, separated by a space, and any >++ echo modules can be listed, separated by a space, and any >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='modules can be listed, separated by a space, and any' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments dependent modules will automatically be included. >++ echo dependent modules will automatically be included. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='dependent modules will automatically be included.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments default '<reboot' '|' halt '|' poweroff '|' shell '|' 'dump_to_rootfs>' >++ echo default '<reboot' '|' halt '|' poweroff '|' shell '|' 'dump_to_rootfs>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='default <reboot | halt | poweroff | shell | dump_to_rootfs>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - Action to preform in case dumping to intended target >++ echo - Action to preform in case dumping to intended target >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- Action to preform in case dumping to intended target' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments fails. If no default action is specified, '"reboot"' >++ echo fails. If no default action is specified, '"reboot"' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='fails. If no default action is specified, "reboot"' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments is assumed default. >++ echo is assumed default. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='is assumed default.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments reboot: If the default action is reboot simply reboot >++ echo reboot: If the default action is reboot simply reboot >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='reboot: If the default action is reboot simply reboot' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments the system and loose the core that you are >++ echo the system and loose the core that you are >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='the system and loose the core that you are' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments trying to retrieve. >++ echo trying to retrieve. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='trying to retrieve.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments halt: If the default action is halt, then simply >++ echo halt: If the default action is halt, then simply >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='halt: If the default action is halt, then simply' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments halt the system after attempting to capture >++ echo halt the system after attempting to capture >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='halt the system after attempting to capture' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments a vmcore, regardless of success or failure. >++ echo a vmcore, regardless of success or failure. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='a vmcore, regardless of success or failure.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments poweroff: The system will be powered down >++ echo poweroff: The system will be powered down >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='poweroff: The system will be powered down' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments shell: If the default action is shell, then drop to >++ echo shell: If the default action is shell, then drop to >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='shell: If the default action is shell, then drop to' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments an shell session inside the initramfs from >++ echo an shell session inside the initramfs from >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='an shell session inside the initramfs from' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments where you can try to record the core manually. >++ echo where you can try to record the core manually. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='where you can try to record the core manually.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Exiting this shell reboots the system. >++ echo Exiting this shell reboots the system. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Exiting this shell reboots the system.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Note: kdump uses bash as the default shell. >++ echo Note: kdump uses bash as the default shell. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Note: kdump uses bash as the default shell.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments dump_to_rootfs: If non-root dump target is specified, >++ echo dump_to_rootfs: If non-root dump target is specified, >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='dump_to_rootfs: If non-root dump target is specified,' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments the default action can be set as dump_to_rootfs. >++ echo the default action can be set as dump_to_rootfs. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='the default action can be set as dump_to_rootfs.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments That means when dump to target fails, dump vmcore >++ echo That means when dump to target fails, dump vmcore >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='That means when dump to target fails, dump vmcore' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments to rootfs from initramfs context and reboot. >++ echo to rootfs from initramfs context and reboot. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='to rootfs from initramfs context and reboot.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments force_rebuild '<0' '|' '1>' >++ echo force_rebuild '<0' '|' '1>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='force_rebuild <0 | 1>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - By default, kdump initrd only will be rebuilt when >++ echo - By default, kdump initrd only will be rebuilt when >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- By default, kdump initrd only will be rebuilt when' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments necessary. Specify 1 to force rebuilding kdump >++ echo necessary. Specify 1 to force rebuilding kdump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='necessary. Specify 1 to force rebuilding kdump' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments initrd every time when kdump service starts. >++ echo initrd every time when kdump service starts. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='initrd every time when kdump service starts.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments '<0' '|' '1>' >++ echo '<0' '|' '1>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='<0 | 1>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - Usually a unresettable block device 'can'\''t' be dump target. >++ echo - Usually a unresettable block device 'can'\''t' be dump target. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- Usually a unresettable block device can'\''t be dump target.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments Specifying 1 means though block target is unresettable, user >++ echo Specifying 1 means though block target is unresettable, user >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='Specifying 1 means though block target is unresettable, user' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments understand this situation and want to try dumping. By default, >++ echo understand this situation and want to try dumping. By default, >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='understand this situation and want to try dumping. By default,' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments 'it'\''s' set to 0, means not to try a destined failure. >++ echo 'it'\''s' set to 0, means not to try a destined failure. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='it'\''s set to 0, means not to try a destined failure.' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments dracut_args '<arg(s)>' >++ echo dracut_args '<arg(s)>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='dracut_args <arg(s)>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - Pass extra dracut options when rebuilding kdump >++ echo - Pass extra dracut options when rebuilding kdump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- Pass extra dracut options when rebuilding kdump' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments initrd. >++ echo initrd. >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=initrd. >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments fence_kdump_args '<arg(s)>' >++ echo fence_kdump_args '<arg(s)>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='fence_kdump_args <arg(s)>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - Command line arguments for fence_kdump_send '(it' can contain >++ echo - Command line arguments for fence_kdump_send '(it' can contain >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- Command line arguments for fence_kdump_send (it can contain' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments all valid arguments except hosts to send notification 'to).' >++ echo all valid arguments except hosts to send notification 'to).' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='all valid arguments except hosts to send notification to).' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments fence_kdump_nodes '<node(s)>' >++ echo fence_kdump_nodes '<node(s)>' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='fence_kdump_nodes <node(s)>' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments - List of cluster 'node(s)' separated by space to send fence_kdump >++ echo - List of cluster 'node(s)' separated by space to send fence_kdump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='- List of cluster node(s) separated by space to send fence_kdump' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments notification to '(this' option is mandatory to enable 'fence_kdump).' >++ echo notification to '(this' option is mandatory to enable 'fence_kdump).' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='notification to (this option is mandatory to enable fence_kdump).' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments >++ echo >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val= >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /dev/vg/lv_kdump >++ echo /dev/vg/lv_kdump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/dev/vg/lv_kdump >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /dev/vg/lv_kdump >++ echo /dev/vg/lv_kdump >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/dev/vg/lv_kdump >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments LABEL=/boot >++ echo LABEL=/boot >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=LABEL=/boot >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments UUID=03138356-5e61-4ab3-b58e-27507ac41937 >++ echo UUID=03138356-5e61-4ab3-b58e-27507ac41937 >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=UUID=03138356-5e61-4ab3-b58e-27507ac41937 >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments my.server.com:/export/tmp >++ echo my.server.com:/export/tmp >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=my.server.com:/export/tmp >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments user@my.server.com >++ echo user@my.server.com >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=user@my.server.com >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /root/.ssh/kdump_id_rsa >++ echo /root/.ssh/kdump_id_rsa >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/root/.ssh/kdump_id_rsa >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /var/crash >++ echo /var/crash >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/var/crash >+ case "$config_opt" in >+ SAVE_PATH=/var/crash >+ read config_opt config_val >++ strip_comments makedumpfile -l --message-level 1 -d 31 >++ echo makedumpfile -l --message-level 1 -d 31 >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='makedumpfile -l --message-level 1 -d 31' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments scp >++ echo scp >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=scp >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /var/crash/scripts/kdump-post.sh >++ echo /var/crash/scripts/kdump-post.sh >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/var/crash/scripts/kdump-post.sh >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /var/crash/scripts/kdump-pre.sh >++ echo /var/crash/scripts/kdump-pre.sh >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/var/crash/scripts/kdump-pre.sh >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments /usr/bin/lftp >++ echo /usr/bin/lftp >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=/usr/bin/lftp >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments gfs2 >++ echo gfs2 >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=gfs2 >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments shell >++ echo shell >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=shell >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments 1 >++ echo 1 >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val=1 >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments --omit-drivers '"cfg80211' 'snd"' --add-drivers '"ext2' 'ext3"' >++ echo --omit-drivers '"cfg80211' 'snd"' --add-drivers '"ext2' 'ext3"' >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='--omit-drivers "cfg80211 snd" --add-drivers "ext2 ext3"' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments -p 7410 -f auto -c 0 -i 10 >++ echo -p 7410 -f auto -c 0 -i 10 >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='-p 7410 -f auto -c 0 -i 10' >+ case "$config_opt" in >+ read config_opt config_val >++ strip_comments node1 node2 >++ echo node1 node2 >++ sed -e 's/\(.*\)#.*/\1/' >+ config_val='node1 node2' >+ case "$config_opt" in >+ read config_opt config_val >++ echo -n >++ sed -n '/.*@/p' >+ local SSH_TARGET= >+ '[' -z '' ']' >+ return 1 >+ check_rebuild >+ local extra_modules modified_files= >+ local _force_rebuild force_rebuild=0 >+ '[' -z '' ']' >++ uname -r >+ kdump_kver=3.14.4-200.fc20.x86_64 >+ kdump_kernel=/boot/vmlinuz-3.14.4-200.fc20.x86_64 >+ kdump_initrd=/boot/initramfs-3.14.4-200.fc20.x86_64kdump.img >++ grep '^force_rebuild' /etc/kdump.conf >+ _force_rebuild= >+ '[' 1 -eq 0 ']' >++ grep '^extra_modules' /etc/kdump.conf >+ extra_modules= >+ '[' -n '' ']' >+ '[' -f /boot/initramfs-3.14.4-200.fc20.x86_64kdump.img ']' >++ stat -c %Y /boot/initramfs-3.14.4-200.fc20.x86_64kdump.img >+ image_time=1401782992 >++ get_pcs_cluster_modified_files 1401782992 >++ local image_time=1401782992 >++ local time_stamp >++ local modified_files >++ is_generic_fence_kdump >++ '[' -x /usr/libexec/fence_kdump_send ']' >++ return 1 >++ is_pcs_fence_kdump >++ type -P pcs >++ return 1 >++ return 1 >+ modified_files= >++ grep '^kdump_post' /etc/kdump.conf >++ cut '-d ' -f2 >+ EXTRA_BINS= >++ grep '^kdump_pre' /etc/kdump.conf >++ cut '-d ' -f2 >+ CHECK_FILES= >+ EXTRA_BINS=' ' >++ grep '^extra_bins' /etc/kdump.conf >++ cut '-d ' -f2- >+ CHECK_FILES= >+ EXTRA_BINS=' ' >+ files='/etc/kdump.conf /boot/vmlinuz-3.14.4-200.fc20.x86_64 ' >+ check_exist '/etc/kdump.conf /boot/vmlinuz-3.14.4-200.fc20.x86_64 ' >+ for file in '$1' >+ '[' '!' -f /etc/kdump.conf ']' >+ for file in '$1' >+ '[' '!' -f /boot/vmlinuz-3.14.4-200.fc20.x86_64 ']' >+ check_executable ' ' >+ '[' 0 -ne 0 ']' >+ for file in '$files' >++ stat -c %Y /etc/kdump.conf >+ time_stamp=1398195063 >+ '[' 1398195063 -gt 1401782992 ']' >+ for file in '$files' >++ stat -c %Y /boot/vmlinuz-3.14.4-200.fc20.x86_64 >+ time_stamp=1399989416 >+ '[' 1399989416 -gt 1401782992 ']' >+ '[' 1401782992 -eq 0 ']' >+ '[' 0 '!=' 0 ']' >+ '[' -n '' ']' >+ return 0 >+ '[' 0 '!=' 0 ']' >+ load_kdump >++ cat /sys/kernel/kexec_crash_size >+ MEM_RESERVED=0 >+ '[' 0 -eq 0 ']' >+ echo 'No memory reserved for crash kernel.' >No memory reserved for crash kernel. >+ return 1 >+ '[' 1 '!=' 0 ']' >+ echo 'Starting kdump: [FAILED]' >Starting kdump: [FAILED] >+ return 1 >+ exit 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1028397
:
901631
|
901633
|
901676
|
901783