Bug 102738 - dhcp init script should have a "configtest" option similar to apache's
dhcp init script should have a "configtest" option similar to apache's
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: dhcp (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2003-08-20 10:41 EDT by Need Real Name
Modified: 2007-11-30 17:06 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-08-20 11:49:34 EDT
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 00:00:00 EDT

  None (edit)
Description Need Real Name 2003-08-20 10:41:13 EDT
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 11:49:34 EDT
Updated packages in next release dhcp-3.0pl2-6.12.src.rpm
Comment 2 John Flanagan 2004-12-21 14:42:20 EST
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.