Bug 58750 - bind initscript kills itself on reload
bind initscript kills itself on reload
Product: Red Hat Linux
Classification: Retired
Component: bind (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2002-01-23 20:37 EST by Need Real Name
Modified: 2014-01-21 17:48 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-01-24 17:51:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-01-23 20:37:16 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20010901

Description of problem:
Problem is with running:  /etc/rc.d/init.d/named reload

If rndc isn't working (and it doesn't, as distributed) then it falls
back to running "killall -HUP named."  This ends up killing the initscript
itself, since it is called "named."

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Make sure rndc is broken (it is by default.)
2. As root run: /etc/rc.d/init.d/named reload

Actual Results:  Script dies with a "Hangup" error.  (SIGHUP received)

Expected Results:  It should work.

Additional info:

Proposed solution would be to replace

    /usr/bin/killall -HUP named


    kill -HUP `cat /var/run/named.pid`

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