Bug#570852: bind9: infinite loop in initscript if stopping named fails

2011-05-12 Thread Jay Ford
Here's my fix to this problem, which is to: o try kill -0 10 times o try kill -9 10 times o give up & exit the loop The diff follows. Jay Ford __ *** bind9.orig 2011-04-20 14:23:40.0 -0500 --- bind9 20

Bug#570852: bind9: infinite loop in initscript if stopping named fails

2010-02-21 Thread Benjamin S.
Package: bind9 Version: 1:9.6.1.dfsg.P3-1 Severity: normal The following loop waits until the server dies. But this may never happen. Shouldn't there be a counter to prevent an infinite loop? if [ -n $pid ]; then while kill -0 $pid 2>/dev/null; do log_progress_msg "waiting for pid $pid