Package:  openvpn
Version:  2.0.9-7
Severity: important
Tags:     patch
User:     initscripts-ng-de...@lists.alioth.debian.org
Usertags: incorrect-dependency

I just discovered that the init.d script dependency of openvpn is
slightly wrong.  This might lead to incorrect boot sequence and the
script starting to late in the boot.

The problem is that the script depend on /usr/ to be mounted, but not
depending on $remote_fs to ensure this.  Here is a patch to fix it.

diff -ur openvpn-2.1~rc19/debian/changelog 
openvpn-2.1~rc19-pere/debian/changelog
--- openvpn-2.1~rc19/debian/changelog   2009-08-03 15:43:23.000000000 +0200
+++ openvpn-2.1~rc19-pere/debian/changelog      2009-08-03 15:42:31.974398000 
+0200
@@ -1,3 +1,10 @@
+openvpn (2.1~rc19-2) unstable; urgency=low
+
+  * Make sure init.d depend on $remote_fs, to run
+    after /usr/ is mounted.
+
+ -- Petter Reinholdtsen <p...@debian.org>  Mon,  3 Aug 2009 15:41:16 +0200
+
 openvpn (2.1~rc19-1) unstable; urgency=low

   * New upstream version
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
+# Required-Stop:     $network $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Openvpn VPN service

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to