Bug 49380

Summary: bind's status uses rncd; doesn't work
Product: [Retired] Red Hat Linux Reporter: Joshua Jensen <joshua>
Component: bindAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-18 20:08:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joshua Jensen 2001-07-18 20:08:46 UTC
Bind's /etc/rc.d/init.d/named script uses, rndc for status.  The problem
is, rndc hasn't yet had it's status functionality implemented.  This causes
the non-descript status of:
rndc:  get key definition: not found

Solution:

Change the rhstatus() fuction in /etc/rc.d/init.d/named to be:

rhstatus() {
        /usr/sbin/rndc status
        status named
}

Or maybe:

rhstatus() {
/usr/sbin/rndc status 2> /dev/null || status named
}

IMO, either of these would be much better.

Thanks,

Joshua Jensen

Comment 1 Bernhard Rosenkraenzer 2001-07-19 09:39:09 UTC

*** This bug has been marked as a duplicate of 48839 ***