Red Hat Bugzilla – Bug 210098
kdump returns an incorrect value.
Last modified: 2007-11-30 17:07:35 EST
Description of problem:
kdump returns an incorrect value. kdump always returns 0 even if
kdump service fails to start up. For this, kdump looks operational
but it's not. This happens because kdump doesn't review the return value
of mkdumprd and kexec just after those commands are run. Consequently, kdump
needs to review the return value of any commands, and needs to exit
in the event that a command fails.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have kdump service fail to start due to some error.
2. run "echo $?"
3. run "service kdump status"
kdump returns 0.
kdump shows "Kdump is operational"
kdump returns a non-zero value.
kdump shows "Kdump is not operational"
Review an attached patch to fix this problem.
Created attachment 138099 [details]
This patch can fix the problem.
fixed in -89.el5. Thanks!
kexec-tools-1.101-164.el5 included in 20070208.0.