Bug 417431 - Name Daemon does not gracefully shutdown
Summary: Name Daemon does not gracefully shutdown
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bind
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-09 19:42 UTC by Ronald
Modified: 2013-04-30 23:37 UTC (History)
1 user (show)

Fixed In Version: 9.5.0-20.b1.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-12-20 15:25:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Config file of named (1.00 KB, text/plain)
2007-12-10 13:55 UTC, Ronald
no flags Details
patch (949 bytes, patch)
2007-12-10 14:02 UTC, Adam Tkac
no flags Details | Diff

Description Ronald 2007-12-09 19:42:35 UTC
Description of problem:

Shutting down the named daemon seems to be forced.

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

bind-chroot-9.5.0-18.a7.fc8
bind-libs-9.5.0-18.a7.fc8
bind-utils-9.5.0-18.a7.fc8
bind-9.5.0-18.a7.fc8


How reproducible:

Fedora 8 with bind installed:

$ service named stop

Steps to Reproduce:
1. Install Fedora 8
2. Install bind
3. Start Bind
4. Stop Bind

Actual results:

Can only be killed using the -TERM signal. Should not be needed right?

[root@Charlie ~]# service named stop
Stoppen van named: ..................................................geen
antwoord, stoppen met KILL signaal -TERM 
                                                           [  OK  ]

Expected results:

Exit with a normal termination signal.

Additional info:

I use it as a chrooted caching server.

Comment 1 Adam Tkac 2007-12-10 09:20:54 UTC
Thank you for report, it's bug in initscript. But in standard situation is named
stopped with /usr/sbin/rndc utility. I'm not sure why rndc doesn't work in your
case. Could you please start named and then run "/usr/sbin/rndc stop" and attach
output? Thanks.

Comment 2 Ronald 2007-12-10 13:54:46 UTC
Sorry, then I should have posted the named.conf which is now posted anyway (see
attachment). I do not have rndc enabled, I use bind as a caching server so no
controls needed... . Should I test with rndc anyway?

Comment 3 Ronald 2007-12-10 13:55:19 UTC
Created attachment 282771 [details]
Config file of named

Comment 4 Adam Tkac 2007-12-10 14:02:33 UTC
Created attachment 282791 [details]
patch

No tests are needed. Initscript wrongly called killproc -TERM function. I've
attached patch if you need fix this immediately because I'm going to delay
update to more serious issue

Comment 5 Fedora Update System 2007-12-20 19:49:15 UTC
bind-9.5.0-20.b1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Ronald 2007-12-20 20:00:52 UTC
Nope, your patch solved it :)


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