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): kexec-tools-1.101-87 How reproducible: Always Steps to Reproduce: 1. Have kdump service fail to start due to some error. 2. run "echo $?" 3. run "service kdump status" Actual results: kdump returns 0. kdump shows "Kdump is operational" Expected results: kdump returns a non-zero value. kdump shows "Kdump is not operational" Additional info: 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.