+++ 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
Steps to Reproduce:
1. service dhcpd start
2. service dhcpd stop
3. service dhcpd stop
The second stop returns 7
The second stop returns 0
--- Additional comment from email@example.com on 2009-11-02 19:52:35 EST ---
User firstname.lastname@example.org's account has been closed
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.
# rpm -q dhcp
# service dhcpd status
dhcpd is stopped
# service dhcpd stop
# echo $?
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.
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.
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.