Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342463 - net-dns/dnsmasq-2.55 fails to stop with init-script or kill
Summary: net-dns/dnsmasq-2.55 fails to stop with init-script or kill
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: InVCS
: 345601 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-24 13:15 UTC by Ivan Anishchuk
Modified: 2010-11-19 16:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Anishchuk 2010-10-24 13:15:01 UTC
When i trying to stop dnsmasq i receive error:

home-gentoo ~ # /etc/init.d/dnsmasq restart
 * Stopping dnsmasq ...
 * start-stop-daemon: 1 process refused to stop                                   [ !! ]
 * ERROR: dnsmasq failed to stop

When i trying to kill process, it is killed normally with non-SIGTERM signal and not killed with SIGTERM.

dnsmasq-2.52 do it right.
Comment 1 Piotr Karbowski (RETIRED) gentoo-dev 2010-11-13 13:20:17 UTC
I have the same think when I am shuting down system. DNSMasq failed to start *if* logger (metalog in my cause) is down first. Do you have syslog/metalog/whatever started?

I wonder if I can force script to stop dnsmasq *before* metalog is stopped?
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2010-11-13 13:21:00 UTC
Ah, sorry, It failing on stop, no start.
Comment 3 jujubickoille 2010-11-14 20:49:25 UTC
I got same here :

* Stopping dnsmasq ...
 * start-stop-daemon: 1 process refused to stop
 [ !! ]
 * ERROR: dnsmasq failed to stop

i can kill -9 him but it's not a good way.


i'm using dnsmasq 2.55
baselayout 2.0.1-r1
openrc 0.6.3
portage 2.1.9.24

Comment 4 Ivan Anishchuk 2010-11-14 22:04:47 UTC
(In reply to comment #3)

You can kill it with SIGINT, for example
Comment 5 Patrick McLean gentoo-dev 2010-11-19 15:59:37 UTC
*** Bug 345601 has been marked as a duplicate of this bug. ***
Comment 6 Patrick McLean gentoo-dev 2010-11-19 16:06:01 UTC
Fixed by adding a use dep on logger in the init script as suggested by Piotr Karbowski on bug #345601.