Red Hat Bugzilla – Bug 111860
Check for correct syntax before restart
Last modified: 2007-11-30 17:10:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1)
Description of problem:
dhcp should not be stopped when 'service dhcpd restart' was issued and
there's a syntax error in configuration file.
A systax check should be issued before stopping the server.
This prevents problems when the service is critical.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Edit dhcpd configuration file and introduce some syntax error
2.servive dhcpd restart
Created attachment 96484 [details]
Patch solving the problem
*** Bug 111861 has been marked as a duplicate of this bug. ***
patch applied in dhcp-3.0.1rc12-4.src.rpm
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.