Red Hat Bugzilla – Bug 807286
Need dracut-network as a dependency for remote dump
Last modified: 2013-08-01 16:05:18 EDT
Description of problem:
When dumping to a ssh target, after capture kernel started, couldn't find command ssh.
+++ dump_ssh /root/.ssh/kdump_id_rsa email@example.com
+++ ssh -q -i /root/.ssh/kdump_id_rsa -o BatchMode=yes -o StrictHostKeyChecking=yes firstname.lastname@example.org mkdir -p /var/crash/27.03.12-08:00:38
//lib/dracut/hooks/pre-pivot/0000kdump.sh: line 108: ssh: command not found
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.configure kdump.conf to dump to a ssh target
2.run `kdumpctl restart`
3.echo c > /proc/sysrq-trigger
command ssh isn't find.
command ssh should be installed when building kdump image.
# cat /etc/kdump.conf
# cat /proc/cmdline
root=/dev/mapper/vg_intelchiefriver03-lv_root ro rd.md=0
rd.lvm.lv=vg_intelchiefriver03/lv_root rd.dm=0 console=ttyS0,115200n81
KEYTABLE=us SYSFONT=latarcyrheb-sun16 rd.lvm.lv=vg_intelchiefriver03/lv_swap
crashkernel=256M rd.luks=0 LANG=en_US.UTF-8
Created attachment 573264 [details]
depends on dracut-network
Created attachment 573265 [details]
A rpm for testing
Chao Wang, can you test comment #2 rpm?
(In reply to comment #3)
> Chao Wang, can you test comment #2 rpm?
It works. kexec-tools now depends on dracut-network. With dracut-network, network module(command ssh, ip, etc.) will be installed to kdump initrd, and this issue no longer exists.
*** Bug 807282 has been marked as a duplicate of this bug. ***
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.
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '17'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 17's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 17 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged change the
'version' to a later Fedora version prior to Fedora 17's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.