Red Hat Bugzilla – Bug 157601
A 'configtest' parameter for the named service (attached).
Last modified: 2013-04-30 19:33:14 EDT
Description of problem:
- apachectl configtest
It's hard for users to remember these different syntax checking tools. httpd's
init script has a 'configtest' parameter. Here's a named one. I'm submitting one
for smb in a sec.
The aim: consistency.
Its a minor change, so do you think this one could be rolled into the next RHEL4
Created attachment 114320 [details]
updated init script with 'checkconf' parameter.
Yes, I'll make a 'checkconf' / 'check' argument for the next
The implementation you attached wouldn't do it though - the
'$ckcf_options' variable, which includes the vital '-t' option,
is only set during the 'start' function.
The 'start' function already does the named-checkconfig, since
without it named would start, fork a child and return 0; the
child would go on to check the configuration and could fail.
You mean it'll work, but I've screwed up the options, so it won't use
any :^). Indeed start already does the named-checkconf, but for
consistency with httpd and so on, it's nice to have a seperate check.
Whether it'd 'checkconf' or 'check', it should be the same as httpd
and (in future) smb in the same release.
This is now fixed with bind-9.3.1-4 in rawhide-2005-05-18 / FC4
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
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.