Red Hat Bugzilla – Bug 807521
/usr/bin/kdumpctl didn't respect nfs-server dump option in /etc/kdump.conf
Last modified: 2013-02-25 04:26:16 EST
Description of problem:
When configure kdump to dump vmcore to a nfs server, we append such a line like `net nfs.server:/mnt/testarea/nfs` to /etc/kdump.conf.
And run `kdumpctl restart`, this nfs dump config is treated as ssh dump.
In /usr/bin/kdumpctl line 201:
local SSH_TARGET=`echo -n $DUMP_TARGET|sed '/.*@/p'`
sed should be called with option -n to remain slience when DUMP_TARGET is a nfs server like 'nfs.server:/mnt/testarea/nfs'.
Then nfs function check_ssh_config will return 1 to not to config nfs like a ssh dump
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.sed -i 's;\(/bin/sh\);\1 -x;' /usr/bin/kdumpctl
2.echo nfs.server:/mnt/testarea/nfs > /etc/kdump.conf
kdumpctl didn't respect nfs dump option in /etc/kdump.conf
nfs is treated its own way.
Thanks for the good catch
Chao, Can you send out a patch to kdump list?
kexec-tools-2.0.3-42.fc17 has been submitted as an update for Fedora 17.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kexec-tools-2.0.3-42.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
kexec-tools-2.0.3-43.fc17 has been submitted as an update for Fedora 17.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.