Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 610128

Summary: Make dhcpd init script LSB compliant
Product: Red Hat Enterprise Linux 5 Reporter: Martin Poole <mpoole>
Component: dhcpAssignee: Jiri Popelka <jpopelka>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7CC: atodorov, cww, ovasik, tao, tcapek
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: dhcp-3.0.5-27.el5 Doc Type: Bug Fix
Doc Text:
Previously, the dhcpd init script lacked several variables and actions required by the Linux Standard Base (LSB). With this update, the init script has been amended and it is now LSB-compliant.
Story Points: ---
Clone Of: 522134 Environment:
Last Closed: 2011-07-21 09:04:01 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: 522134    
Bug Blocks:    

Description Martin Poole 2010-07-01 15:34:28 UTC
+++ This bug was initially created as a clone of Bug #522134 +++

Description of problem:
dhcpd has few issues, I'll cover them all in this post.

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 on stopped dhcpd returns 7 instead of 0

How reproducible:
always

Steps to Reproduce:
1. service dhcpd start
2. service dhcpd stop
3. service dhcpd stop
  
Actual results:
The second stop returns 7

Expected results:
The second stop returns 0

--- Additional comment from tfu on 2009-11-02 19:52:35 EST ---

User jskladan's account has been closed

Comment 1 RHEL Program Management 2010-09-13 15:37:59 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 8 Alexander Todorov 2011-05-09 09:16:22 UTC
# rpm -q dhcp
dhcp-3.0.5-29.el5

# service dhcpd status
dhcpd is stopped

# service dhcpd stop  
# echo $?
0

Comment 9 Tomas Capek 2011-05-31 08:17:52 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, the dhcpd init script lacked several variables and actions required by the Linux Standard Base (LSB). With this update, the init script has been amended and it is now LSB-compliant.

Comment 10 errata-xmlrpc 2011-07-21 09:04:01 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1038.html