I had a closer look, and the dependencies should also list $syslog, as
the openvpn daemon log to syslog.  Here is a better patch, which make
sure openvpn is started after the syslog collector is started.

diff -ur openvpn-2.1~rc19/debian/openvpn.init.d 
openvpn-2.1~rc19-pere/debian/openvpn.init.d
--- openvpn-2.1~rc19/debian/openvpn.init.d      2009-08-03 15:43:23.000000000 
+0200
+++ openvpn-2.1~rc19-pere/debian/openvpn.init.d 2009-08-03 15:41:49.654115000 
+0200
@@ -2,8 +2,8 @@

 ### BEGIN INIT INFO
 # Provides:          vpn
-# Required-Start:    $network $local_fs
-# Required-Stop:     $network $local_fs
+# Required-Start:    $network $remote_fs $syslog
+# Required-Stop:     $network $remote_fs $syslog
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Openvpn VPN service


Happy hacking,
-- 
Petter Reinholdtsen



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

Reply via email to