Bug 102738 - dhcp init script should have a "configtest" option similar to apache's
Summary: dhcp init script should have a "configtest" option similar to apache's
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: dhcp   
(Show other bugs)
Version: 2.1
Hardware: All Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2003-08-20 14:41 UTC by Need Real Name
Modified: 2007-11-30 22:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-08-20 15:49:34 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2004:566 normal SHIPPED_LIVE Updated dhcp and dhclient packages 2005-05-26 04:00:00 UTC

Description Need Real Name 2003-08-20 14:41:13 UTC
Description of problem:

dhcpd supports a "test" option (-t) that can be used to check the validity of
the dhcpd.conf.  Apache already has a "configtest" to do similar, so since dhcpd
supports configuration testing as well, it should honor that option in its init
script, too.

Something like this should be sufficient:

@@ -67,8 +67,12 @@
        status dhcpd
+  configtest)
+       dhcpd -t
+       RETVAL=$?
+       ;;
-       echo $"Usage: $0 {start|stop|restart|condrestart|status}"
+       echo $"Usage: $0 {start|stop|restart|condrestart|configtest|status}"
        exit 1

Comment 1 Daniel Walsh 2003-08-20 15:49:34 UTC
Updated packages in next release dhcp-3.0pl2-6.12.src.rpm

Comment 2 John Flanagan 2004-12-21 19:42:20 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 the 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.


Note You need to log in before you can comment on or make changes to this bug.