On ubuntu 12.04, the option ""--script-security 2"" is never added to the command line of openvpn daemon
here is the diff that need to be applied to the /etc/init.d/openvpn to start the daemon correctly.
If you need more information, please let me know.
=================================
--- /tmp/openvpn 2013-02-13 13:40:53.885828899 -0500
+++ /etc/init.d/openvpn 2013-02-13 13:13:52.598704452 -0500
@@ -89,7 +89,7 @@
--pidfile /var/run/openvpn.$NAME.pid \
--exec $DAEMON -- $OPTARGS --writepid /var/run/openvpn.$NAME.pid \
$DAEMONARG $STATUSARG --cd $CONFIG_DIR \
- --config $CONFIG_DIR/$NAME.conf < /dev/null || STATUS=1
+ --config $CONFIG_DIR/$NAME.conf $script_security < /dev/null || STATUS=1
On ubuntu 12.04, the option ""--script-security 2"" is never added to the command line of openvpn daemon
here is the diff that need to be applied to the /etc/init.d/openvpn to start the daemon correctly.
If you need more information, please let me know. ======= ======= ======= ===== openvpn. $NAME.pid \ openvpn. $NAME.pid \ DIR/$NAME. conf < /dev/null || STATUS=1 DIR/$NAME. conf $script_security < /dev/null || STATUS=1
=======
--- /tmp/openvpn 2013-02-13 13:40:53.885828899 -0500
+++ /etc/init.d/openvpn 2013-02-13 13:13:52.598704452 -0500
@@ -89,7 +89,7 @@
--pidfile /var/run/
--exec $DAEMON -- $OPTARGS --writepid /var/run/
$DAEMONARG $STATUSARG --cd $CONFIG_DIR \
- --config $CONFIG_
+ --config $CONFIG_
[ "$OMIT_SENDSIGS" -ne 1 ] || ln -s /var/run/ openvpn. $NAME.pid /run/sendsigs. omit.d/ openvpn. $NAME.pid
======= ======= ======= ======= =====