On Mon, 2016-12-26 at 19:31 +0100, Andreas Henriksson wrote: [bind9.patch] > --- bind9-9.10.3.dfsg.P4/debian/bind9.init 2016-05-04 01:40:36.000000000 > +0200 > +++ bind9-9.10.3.dfsg.P4.new/debian/bind9.init 2016-12-26 > 16:38:27.153860242 +0100 > @@ -33,7 +33,7 @@ > else > IFCONFIG_OPTS="" > fi > - if [ -z "$(/sbin/ifconfig $IFCONFIG_OPTS)" ]; then > + if [ -x /sbin/ifconfig ] && [ -z "$(/sbin/ifconfig $IFCONFIG_OPTS)" ]; > then > #log_action_msg "No networks configured." > return 1
This check currently succeeds even if only the loopback interface is up, and it should never be taken down. So I think you could take out the check entirely. Ben. -- Ben Hutchings Humour is the best antidote to reality.
signature.asc
Description: This is a digitally signed message part