Red Hat Bugzilla – Bug 848033
init script return wrong value for configtest
Last modified: 2014-10-14 00:34:26 EDT
Description of problem:
service named configtest always returns 0
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.put a typo in /etc/named.conf or in a zone
service named configtest returns 0 (OK)
service named configtest should return 1
I think there's a missing RETVAL=$? after the call to checkconfig() internal function
(In reply to comment #0)
> I think there's a missing RETVAL=$? after the call to checkconfig() internal
Right you are, thanks for the report.
Created attachment 731887 [details]
Set RETVAL to checkconfig return value
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 unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.