Bug 49380 - bind's status uses rncd; doesn't work
bind's status uses rncd; doesn't work
Status: CLOSED DUPLICATE of bug 48839
Product: Red Hat Linux
Classification: Retired
Component: bind (Show other bugs)
7.3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-07-18 16:08 EDT by Joshua Jensen
Modified: 2007-04-18 12:34 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-07-18 16:08:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Joshua Jensen 2001-07-18 16:08:46 EDT
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 05:39:09 EDT

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

Note You need to log in before you can comment on or make changes to this bug.