Hi Tim,
On Wed, Jul 24, 2019 at 05:00:01PM +0100, Tim Dickson wrote:
bind_stop() {
[…]
sleep 1
if ps axc | grep -q named ; then
echo "Using "killall named" on additional BIND processes..."
/bin/killall named 2> /dev/null
fi
}
I would guess that systemd does not have the functionality of the
belt'n'braces bit at the end
Interesting. Clearly someone has been here before.
It seems extremely charitable to call that "functionality"! :)
It's not going to be hard to set the systemd service unit to
unconditionally kill any process called "named" when it stops the
service, other than that it's horrible and I'm thinking that no
distribution maintainer would accept such a patch.
Also there is the point that it doesn't have to be something called
"named" that binds to the port.
I'm still thinking this is a deficiency in bind9, but at least I can
add it to my list of things to check, now…
Cheers,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting