Hi,
I just ran into this problem when installing the newest version of OpenVPN using RPMForge:
openvpn x86_64 2.2.0-2.el5.rf rpmforge 469 k
The issue is a typo in the /etc/init.d/openvpn file. The following patch fixed this issue for me:
[root@server openvpn]# diff -u /etc/init.d/openvpn.orig /etc/init.d/openvpn
--- /etc/init.d/openvpn.orig 2011-05-23 15:01:04.000000000 -0600
+++ /etc/init.d/openvpn 2011-06-05 05:04:15.000000000 -0600
@@ -166,7 +166,7 @@
# Handle backward compatibility, see Red Hat Bugzilla ID #458594
script_security=''
if [ -z "$( grep '^[[:space:]]*script-security[[:space:]]' $c )" ]; then
- script_security-"--script-security 2"
+ script_security="--script-security 2"
fi
$openvpn --daemon --writepid $piddir/$bn.pid --config $c --cd $work $script_security
if [ $? = 0 ]; then
I'm not sure yet where to post a bug on this... but it's a simple fix at this point...
Hope this helps...
Martin