Unnamed repository
Go to file
Dave Young d17cf94ea9 kdumpctl: multi dump target checking fix
Resolves: bz867703

For both ssh and sshkey specified in kdump.conf, we will error out:
[..]
+ start
+ local nr
++ awk 'BEGIN{cnt=0} /^raw|^ssh|^nfs|^ext[234]|^xfs|^btrfs|^minix/{cnt++} END{print cnt}' /etc/kdump.conf
+ nr=2
+ '[' 2 -gt 1 ']'
+ echo -n 'Error: More than one dump targets specified'
Error: More than one dump targets specified+ echo

Fix this by Improving the patterns for multi dump targes checking
with one more space.

Thanks ChaoWang for catching this and providing the fix.

Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
2012-11-05 16:55:15 +08:00
po Updating translation files 2009-10-07 12:45:16 +00:00
.gitignore pull makedumpfile 1.5.0 2012-09-06 15:39:58 +08:00
98-kexec.rules udev rules fix 2012-05-28 09:50:47 +08:00
dracut-kdump.sh pass persistent name to dracut --mount 2012-09-20 11:03:19 +08:00
dracut-module-setup.sh use persistent name in kdump.conf of initramfs 2012-09-20 11:03:14 +08:00
dracut-monitor_dd_progress remove dracut-files.tbz2 [v2] 2012-05-03 10:06:05 +08:00
firstboot_kdump.py Update to support f18 grub2 efi config file 2012-09-29 09:59:55 +08:00
kdump.conf improve persistent name handling 2012-10-11 09:43:30 +08:00
kdump.conf.5 improve persistent name handling 2012-10-11 09:43:30 +08:00
kdump.init - Fix a syntax error in kdump init script 2010-06-13 21:54:34 +00:00
kdump.service Fixup sysytemd service file (bug 741272) 2012-02-14 10:13:06 -07:00
kdump.sysconfig do not mount root twice 2012-07-12 11:15:35 +08:00
kdump.sysconfig.i386 do not mount root twice 2012-07-12 11:15:35 +08:00
kdump.sysconfig.ia64 Mass Update of RHEL5 patches 2008-06-05 15:18:53 +00:00
kdump.sysconfig.ppc64 do not mount root twice 2012-07-12 11:15:35 +08:00
kdump.sysconfig.s390x do not mount root twice 2012-07-12 11:15:35 +08:00
kdump.sysconfig.x86_64 do not mount root twice 2012-07-12 11:15:35 +08:00
kdumpctl kdumpctl: multi dump target checking fix 2012-11-05 16:55:15 +08:00
kexec-kdump-howto.txt improve persistent name handling 2012-10-11 09:43:30 +08:00
kexec-tools-2.0.3-disable-kexec-test.patch Disable kexec_test 2012-01-21 16:56:07 +08:00
kexec-tools-2.0.3-kdump-pass-acpi_rsdp-to-2nd-kernel-for-efi-booting.patch Pull two patches from upstream 2012-10-25 17:07:19 +08:00
kexec-tools-2.0.3-Load-bzImages-smaller-than-32-KiB.patch Pull two patches from upstream 2012-10-25 17:07:19 +08:00
kexec-tools-2.0.3-ppc-ppc64-compile-purgatory-code-with-gcc-option-msoft-float.patch ppc/ppc64: compile purgatory with gcc option msoft-float 2012-09-29 13:15:36 +08:00
kexec-tools-2.0.3-vmcore-dmesg-Do-not-write-beyond-end-of-buffer.patch Pull vmcore-dmesg patches from vivek 2012-09-29 13:19:03 +08:00
kexec-tools-2.0.3-vmcore-dmesg-vmcore-dmesg-Make-it-work-with-new-stru.patch Pull vmcore-dmesg patches from vivek 2012-09-29 13:19:03 +08:00
kexec-tools.spec Release kexec-tools-2.0.3-58 2012-10-25 17:33:26 +08:00
mkdumprd improve persistent name handling 2012-10-11 09:43:30 +08:00
mkdumprd.8 mkdumprd manpage cleanup manpage 2012-06-06 16:24:37 +08:00
rhcrashkernel-param rhcrashkernel-param: echo crashkernel=auto for rhel7 2012-08-20 15:01:47 +08:00
sources pull makedumpfile 1.5.0 2012-09-06 15:39:58 +08:00