Red Hat Bugzilla – Bug 417431
Name Daemon does not gracefully shutdown
Last modified: 2013-04-30 19:37:53 EDT
Description of problem:
Shutting down the named daemon seems to be forced.
Version-Release number of selected component (if applicable):
Fedora 8 with bind installed:
$ service named stop
Steps to Reproduce:
1. Install Fedora 8
2. Install bind
3. Start Bind
4. Stop Bind
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 ]
Exit with a normal termination signal.
I use it as a chrooted caching server.
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
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?
Created attachment 282771 [details]
Config file of named
Created attachment 282791 [details]
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
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.
Nope, your patch solved it :)