Re: insserv: /home on NFS and local bind (DNS lookups fail on boot)
Timo Juhani Lindfors <email@example.com> 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
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
A better solution would be appreciated.