SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0002984: missing sudoers lines for triggers called when an openvpn user connects - MantisBT
MantisBT - Endian Firewall
View Issue Details
0002984Endian FirewallOpenVPN Client and Serverpublic2010-06-07 09:162010-11-22 11:50
peter-endian 
peter-endian 
normalminoralways
closedfixed 
2.4 
2.42.4 
0002984: missing sudoers lines for triggers called when an openvpn user connects
scripts in /etc/openvpn/client-connect.d/ will be started with user openvpn and thus each script needs a sudoers entry for user openvpn.

those entries are missing in the %post trigger of efw-vpn spec file.
add something like that:

grep -qEe "openvpn.*/usr/local/bin/setdnat\.py" /etc/sudoers || \
echo "openvpn ALL=NOPASSWD: /usr/local/bin/setdnat.py" >> /etc/sudoers
purple
related to 0002983closed dukeluke Endian Firewall OpenVPN: Routes don't get set 
related to 0003135closed  Endian Firewall OpenVPN Gw2Gw site-to-site problem 
Issue History
2010-06-07 09:16peter-endianNew Issue
2010-06-07 09:16peter-endianIssue generated from: 0002983
2010-06-07 09:16peter-endianRelationship addedrelated to 0002983
2010-06-07 09:41dukelukeNote Added: 0004384
2010-06-07 09:53dukelukeNote Added: 0004387
2010-06-07 12:04ra-endianStatusnew => acknowledged
2010-06-07 14:21peter-endianStatusacknowledged => assigned
2010-06-07 14:21peter-endianStatusassigned => new
2010-06-07 14:21peter-endianAssigned To => peter-endian
2010-06-07 14:22peter-endianStatusnew => assigned
2010-06-07 18:02peter-endianNote Added: 0004419
2010-06-08 08:18peter-endianStatusassigned => resolved
2010-06-08 08:18peter-endianFixed in Version => 2.4
2010-06-08 08:18peter-endianResolutionopen => fixed
2010-07-06 10:55luca-endianTag Attached: purple
2010-08-31 08:01luca-endianRelationship addedhas duplicate 0003125
2010-09-14 10:34luca-endianRelationship addedrelated to 0003135
2010-11-22 11:50peter-endianStatusresolved => closed

Notes
(0004384)
dukeluke   
2010-06-07 09:41   
does that mean i have to add
openvpn ALL=NOPASSWD: /usr/local/bin/setdnat.py
openvpn ALL=NOPASSWD: /usr/local/bin/remoteroute.py
to /etc/sudoers?
(0004387)
dukeluke   
2010-06-07 09:53   
ok, i've added those two lines, now it works!
thanks!
(0004419)
peter-endian   
2010-06-07 18:02   
ah great.
this was a todo-ticket for us to know what we need to fix :)
thank you for reporting back. helps us much