Bug 1118013

Summary: rbldnsd init script has bad status return code
Product: [Fedora] Fedora EPEL Reporter: Steve Snodgrass <ssnodgra>
Component: rbldnsdAssignee: Paul Howarth <paul>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: paul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: rbldnsd-0.997a-4.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-26 02:35:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Snodgrass 2014-07-09 20:42:35 UTC
Description of problem: The rbldnsd init script 'status' command does not return a non-zero exit code if rbldnsd is not running.  This breaks the ability to manage the service normally through puppet, which looks for that return code to see if the service is running.


Version-Release number of selected component (if applicable): 0.996b-6.el6.x86_64


How reproducible: Always


Steps to Reproduce:
1. service rbldnsd stop
2. service rbldnsd status
3. echo $?

Actual results:

rbldns-01# service rbldnsd status
rbldnsd is stopped
rbldns-01# echo $?
0

Expected results:

Should return a non-zero exit code per LSB:
http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

Additional info:

Comment 1 Fedora Update System 2014-07-10 12:52:17 UTC
rbldnsd-0.997a-4.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/rbldnsd-0.997a-4.el6

Comment 2 Paul Howarth 2014-07-10 12:53:29 UTC
Amazed this bug has lingered so long and nobody noticed!

Comment 3 Steve Snodgrass 2014-07-10 15:00:31 UTC
Thanks so much for the prompt fix and version update.  I just tested the new package and it seems to work great.

Comment 4 Fedora Update System 2014-07-26 02:35:08 UTC
rbldnsd-0.997a-4.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.