Bug 522146

Summary: Make dhcrelay init script LSB compilant
Product: [Fedora] Fedora Reporter: Josef Skladanka <jskladan>
Component: dhcpAssignee: Jiri Popelka <jpopelka>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 12CC: benl, dcantrell, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: dhcp-4.1.0p1-11.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-11 12:54:06 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-09 15:20:44 UTC
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 action is not implemented

3) stop action does not delete pidfile

How reproducible:
always

Steps to Reproduce:
1. service dhcrelay start
2. service dhcrelay stop

Actual results:
The /var/run/dhcrelay.pid file exists

Expected results:
The /var/run/dhcrelay.pid file is removed

4) stop action on stopped dhcpd returns 7 instead of 0

How reproducible:
always, if the problem before is fixed

Steps to Reproduce:
1. service dhcrelay start
2. service dhcrelay stop
3. service dhcrelay stop

Actual results:
The second stop returns 7

Expected results:
The second stop returns 0