fc1749219f
When kdump service is started, /sbin/mkdump checks if there is enough free space on the ssh server using "df -P" command. However, the slight difference in the first line of the "df -P" command output for English and Japanese environment causes a problem. ----- # LANG=en_us.utf8 df -P | head -1 Filesystem 1024-blocks Used Available Capacity Mount on # LANG=ja_JP.utf8 df -P | head -1 ファイルシス 1024-ブロック 使用 使用可 容量 マウント位置 ----- Because the number of words is 7 in the English output and 6 in Japanese, the subsequent awk command could not correctly locate the free space field and results in an error. One way to fix it is use df -P /var/crash|tail -1, but for remote restricted shell pipe is not supported. Thus fix this by print field NF-2 in awk script. Signed-off-by: Dave Young <dyoung@redhat.com> Acked-by: WANG Chao <chaowang@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> |
||
---|---|---|
po | ||
.gitignore | ||
98-kexec.rules | ||
dracut-kdump.sh | ||
dracut-module-setup.sh | ||
dracut-monitor_dd_progress | ||
firstboot_kdump.py | ||
kdump-in-cluster-environment.txt | ||
kdump-lib.sh | ||
kdump.conf | ||
kdump.conf.5 | ||
kdump.init | ||
kdump.service | ||
kdump.sysconfig | ||
kdump.sysconfig.i386 | ||
kdump.sysconfig.ia64 | ||
kdump.sysconfig.ppc64 | ||
kdump.sysconfig.s390x | ||
kdump.sysconfig.x86_64 | ||
kdumpctl | ||
kexec-kdump-howto.txt | ||
kexec-tools-2.0.3-build-makedumpfile-eppic-shared-object.patch | ||
kexec-tools-2.0.3-disable-kexec-test.patch | ||
kexec-tools-2.0.4-makedumpfile-memset-in-cyclic-bitmap-initialization-introdu.patch | ||
kexec-tools-2.0.5-i386-fix-build-failure-bzImage_support_efi_boot.patch | ||
kexec-tools-2.0.5-i386-fix-redefinition-error-for-e820entry.patch | ||
kexec-tools.spec | ||
mkdumprd | ||
mkdumprd.8 | ||
rhcrashkernel-param | ||
sources | ||
zanata-notes.txt |