RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 622785 - /etc/init.d/named script kills all process named 'named'.
Summary: /etc/init.d/named script kills all process named 'named'.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: bind
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Adam Tkac
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On: 500535
Blocks: 657260
TreeView+ depends on / blocked
 
Reported: 2010-08-10 12:24 UTC by Adam Tkac
Modified: 2012-07-11 07:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
previously, initscript killed all processes with the name "named" when stopping the named daemon. With this update, initscript kills only the selected one.
Clone Of: 500535
: 657260 (view as bug list)
Environment:
Last Closed: 2011-05-19 12:58:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0541 0 normal SHIPPED_LIVE bind bug fix and enhancement update 2011-05-18 17:57:36 UTC

Description Adam Tkac 2010-08-10 12:24:50 UTC
+++ This bug was initially created as a clone of Bug #500535 +++

Description of problem:
/etc/init.d/named script kills all process named 'named'.
it's problem on using OpenVZ etc.


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


How reproducible:


Steps to Reproduce:
1. start guest os on OpenVZ.
2. execute /etc/init.d/named stop on host os.
  
Actual results:
guest os's named is killed.

Expected results:


Additional info:

--- Additional comment from atkac on 2009-06-09 09:15:42 EDT ---

Created an attachment (id=347021)
proposed patch

Would it be possible to test proposed patch, please?

--- Additional comment from pm-rhel on 2009-11-06 13:47:21 EST ---

This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 1 Levente Farkas 2010-08-11 09:18:05 UTC
imho it's a bigger problem that currently it's not possible to stop named. ie i've got only:
----------------------------------
# /etc/init.d/named stop
Stopping named: .............                              [FAILED]
# ps axuf|grep named
root     13140  0.0  0.0 103148   808 pts/0    S+   11:03   0:00          \_ grep named
named    12493  0.0  0.5 240372 19900 ?        Ssl  10:52   0:00 /usr/sbin/named -u named
----------------------------------
the only way is kill -9.

Comment 2 Adam Tkac 2010-08-11 11:14:08 UTC
(In reply to comment #1)
> imho it's a bigger problem that currently it's not possible to stop named. ie
> i've got only:
> ----------------------------------
> # /etc/init.d/named stop
> Stopping named: .............                              [FAILED]
> # ps axuf|grep named
> root     13140  0.0  0.0 103148   808 pts/0    S+   11:03   0:00          \_
> grep named
> named    12493  0.0  0.5 240372 19900 ?        Ssl  10:52   0:00
> /usr/sbin/named -u named
> ----------------------------------
> the only way is kill -9.    

It seems your named hangs in deadlock. Would it be possible to install bind-debuginfo package, attach named with gdb, run "t a a bt" in gdb prompt, open a separate bug for this issue and attach output there, please?

Comment 3 Levente Farkas 2010-08-11 11:58:48 UTC
#623122

Comment 10 Martin Cermak 2011-03-18 09:52:23 UTC
According to https://beaker.engineering.redhat.com/jobs/63067 - VERIFIED.

Comment 11 Ryan Lerch 2011-04-12 23:18:21 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
initscript killed all processes with the name "named" when stopping the named daemon. With this update, initscript kills only the one it started.

Comment 12 Ryan Lerch 2011-05-03 22:24:36 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-initscript killed all processes with the name "named" when stopping the named daemon. With this update, initscript kills only the one it started.+previously, initscript killed all processes with the name "named" when stopping the named daemon. With this update, initscript kills only the selected one.

Comment 13 errata-xmlrpc 2011-05-19 12:58:10 UTC
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 therefore 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.

http://rhn.redhat.com/errata/RHBA-2011-0541.html


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