Package: openvpn
Version: 2.3.4-5
Severity: important
Tags: patch

Dear Maintainer,

when using the openvpn statement inside /etc/network/interfaces the systems
hangs during boot. The symptoms are the same as reported in this bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754218

After some debugging I found out, that the systemd hangs on starting the
openvpn process, because openvpn.service has a After=network.target.
This requierment is no fulfilled during boot, because the openvpn is
started inside network and not after.

This problem breaks installations after the update to jessie!

The following patch fixes the problem:
--- /etc/network/if-up.d/openvpn.orig   2015-05-28 16:06:18.604432557 +0200
+++ /etc/network/if-up.d/openvpn        2015-05-28 14:26:26.832782229 +0200
@@ -13,7 +13,7 @@
   for vpn in $IF_OPENVPN; do
     ## check systemd present
     if [ -d $SYSTEMD ]; then
-      $SYSTEMCTL start openvpn@$vpn
+      $SYSTEMCTL --no-block start openvpn@$vpn
     else
       $OPENVPN_INIT start $vpn
     fi

Please add this patch in Jessie.

Thanks,

Oliver


-- 
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