I tested the patch and it doesn't work for me, at least on wheezy with
openvpn 2.2.1-8 and bind9 1:9.8.4.dfsg.P1-6+nmu2

(The comments below are relevant _using_ the patch above.)

My problem is that openvpn starts *four seconds after* bind9 has
started.

The order of the init scripts is not to blame, it says openvpn starts
before bind9:

# ls -l /etc/rc2.d/S*|egrep "(bind|openvpn)"
lrwxrwxrwx 1 root root 17 May 22 13:41 /etc/rc2.d/S02openvpn ->
../init.d/openvpn
lrwxrwxrwx 1 root root 15 May 23 10:17 /etc/rc2.d/S03bind9 ->
../init.d/bind9

Adding a "touch /tmp/blah" to the top of each of these scripts reveals
that openvpn always starts after bind9, so there must also be a
dependency problem.

I expected to fix this by editing /etc/init.d/bind9 and changing:
# Required-Start:    $remote_fs
to:
# Required-Start:    $remote_fs $all
but this didn't help.

-- 
http://www.fastmail.fm - The way an email service should be


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to