Description of problem: kdump can't show a message "Kdump already running" at all even if it's already running. Version-Release number of selected component (if applicable): kexec-tools-1.101-130.el5 How reproducible: Always Steps to Reproduce: 1. Run "service kdump start" 2. Run that again. 3. Actual results: It shows as below. Starting kdump: [ OK ] Expected results: It should show just "Kdump already running". It doesn't need to show [FAILED] with the message. Additional info:
Created attachment 141112 [details] This patch is based on -130.el5 and can fix this problem.
This isn't actually a bug: http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html As per the LSB script, running start on a started service is considered a success action. The way we get there in the script however is a bit dubious, so I've cleaned that up in -131.el5, which now also reports that the service is already running, in addition to reporting a successful start.
Fix confirmed with kexec-tools-1.101-164.el5.