Timo Juhani Lindfors <timo.lindf...@iki.fi> writes:
> Should I try starting bind9 before network is brought up? That sounds
> very counter-intuitive.

Replying to myself here: this fails since bind9 says "no networks
configured". A hack that works for now seems to be to add

if [ "$(pidof named)" = "" ]; then
    /etc/init.d/bind9 start
fi

to /etc/network/if-up.d/bind9. If we assume that "lo" is the first
interface that is brought up then bind9 gets started after lo has been
brought up but before "br0" has been brought up. This then guarantees
that when "br0" is brought up /etc/network/if-up.d/mountnfs has
working DNS.

A better solution would be appreciated.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/84y6cj6gsl....@sauna.l.org

Reply via email to