Bug 522461

Summary: Make iprdump init script LSB compilant
Product: [Fedora] Fedora Reporter: Josef Skladanka <jskladan>
Component: iprutilsAssignee: David Woodhouse <dwmw2>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 12CC: benl, dkovalsk, dwmw2, pnasrat, rrakus
Target Milestone: ---   
Target Release: ---   
Hardware: ppc   
OS: Linux   
Whiteboard:
Fixed In Version: 2.2.18-1.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-01 01:00:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 521669    

Description Josef Skladanka 2009-09-10 11:50:32 UTC
Tested on ppc, since the package appears to be unavailable on any other architecture.

1) The initscript does not match the template
<https://fedoraproject.org/wiki/Packaging/SysVInitScript#Initscript_template> -
from what I tested it lacks the exec and config variables

2) force-reload is not mentioned in usage, even though it appears to be implemented.

3) try-restart and reload returns 127 instead of 3

How reproducible:
always

Steps to reproduce:
1) service iprdump start
2) service iprdump reload

Actual results:
The second stop returns 127

Expected results:
The second stop returns 3

4) status action always returns 0, even though it writes out the right status message

How reproducible:
always
 
Steps to reproduce:
1) service iprdump start
2) service iprdump stop
3) service iprdump status

Actual results:
The status action writes "iprdump is stopped" to STDOUT, but returncode is 0

Expected results:
Return code of the third step is 3

Comment 1 Roman Rakus 2009-10-05 13:48:45 UTC
Should be fixed in iprutils-2.2.17-2.fc13, but cannot be build so far - changing to modified.

Comment 3 Bug Zapper 2009-11-16 12:11:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Fedora Update System 2010-01-29 12:41:01 UTC
iprutils-2.2.18-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/iprutils-2.2.18-1.fc12

Comment 6 Fedora Update System 2010-02-01 01:00:35 UTC
iprutils-2.2.18-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.