Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 234254

Summary: net-misc/openvpn-2.1_rc9 - init.d/openvpn needs "--script-security 2" added to /usr/sbin/openvpn options
Product: Gentoo Linux Reporter: Felix Finch <felix>
Component: Current packagesAssignee: Cédric Krier <cedk>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Felix Finch 2008-08-08 16:26:50 UTC
Something changed in net-misc/openvpn-2.1_rc9 and it now refuses to run up/down scripts.  Here is the error message in syslog:

openvpn[16215]: openvpn_execve: external program may not be called due to setting of --script-security level

I added "--script-security 2" to init.d/openvpn and it works, but I do not know if this is a good long term solution.

Reproducible: Always
Comment 1 Felix Finch 2008-08-08 16:28:35 UTC
I should have added this is on a ~amd64 system, but I doubt that makes any difference.  Openvpn version is net-misc/openvpn-2.1_rc9.
Comment 2 Cédric Krier gentoo-dev 2008-08-09 13:35:52 UTC

*** This bug has been marked as a duplicate of bug 233657 ***