Unnamed repository
Go to file
dyoung@redhat.com 4d9bb7face get_ssh_size: use -n to redirect stdin from /dev/null
Resolves: bug 868990

ssh will send local stdin input to remote side, this cause trouble
when we call ssh in the loop of parsing kdump.conf.

Ie. if we specify both 'ssh' and 'core_collector' option in kdump.conf,
and put 'core_collector' behind 'ssh', there will be no chance to
handle 'core_collector' because in get_ssh_size() ssh eat all the later
input of the while loop.

Fix this by use /dev/null as stdin in get_ssh_size().

Tested in fedora kvm guest.

Signed-off-by: Dave Young <dyoung@redhat.com>
Suggested-by: Vivek Goyal <vgoyal@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
2012-11-16 14:13:27 +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 add random feeding code for ssh dump 2012-11-16 14:07:52 +08:00
dracut-module-setup.sh add random feeding code for ssh dump 2012-11-16 14:07:52 +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 kdump option space checking improvement 2012-11-16 14:06:26 +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 get_ssh_size: use -n to redirect stdin from /dev/null 2012-11-16 14:13:27 +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