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

0004392: logrotate tmpl script searches in the wrong path - MantisBT
MantisBT - Endian Firewall
View Issue Details
0004392Endian FirewallHotspotpublic2012-07-09 13:052012-07-10 09:18
luca-endian 
 
normalminorhave not tried
newopen 
2.5 
 
0004392: logrotate tmpl script searches in the wrong path
Just to quickly fix I did this:

cp -R /var/efw/radius /var/efw/radiusd

root@test:/var/efw # cat radiusd/settings
RADIUS_LOG_ROTATE=60

The script looks for /var/efw/radiusd (and i guess also /usr/lib/efw/radiusd) but the folder is /var/efw/radius

Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART---------------- Traceback ---------------
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART-Traceback (most recent call last):
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART- File "/usr/lib/python2.4/site-packages/endian/job/engine_jobs.py", line 186, in _fire_action
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART- result = action.action(options) # Exec the action
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART- File "/usr/lib/python2.4/site-packages/endian/job/engine_actions.py", line 161, in action
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART- return _action(job, options)
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART- File "/usr/lib/python2.4/site-packages/endian/job/job.py", line 79, in wrapped_f
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART- return fn(job, *args, **argv)
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART- File "/usr/lib/python2.4/site-packages/endian/restartscripts/radiusd.py", line 257, in restart
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART- File "/usr/lib/python2.4/site-packages/endian/restartscripts/radiusd.py", line 206, in save_config
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART- File "/usr/lib/python2.4/site-packages/endian/job/commons.py", line 349, in write_config
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART- content = t.respond()
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART- File "_etc_logrotate_d_radiusd_tmpl.py", line 95, in respond
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART-NotFound: cannot find 'SETTINGS' while searching for 'DS.RADIUSD.SETTINGS.RADIUS_LOG_ROTATE'
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART-
Jul 9 14:54:38 test jobsengine[15668]: RADIUSD.RESTART---------------- Traceback ---------------
No tags attached.
Issue History
2012-07-09 13:05luca-endianNew Issue
2012-07-09 13:06luca-endianSummarylogrotate tmp script look the wrong path => logrotate tmpl script searches in the wrong path
2012-07-09 16:56luca-endianNote Added: 0007947
2012-07-10 09:18luca-endianNote Added: 0007948

Notes
(0007947)
luca-endian   
2012-07-09 16:56   
right now I couldn't reproduce this issue on a different mini arm that should be produced in the same batch..
(0007948)
luca-endian   
2012-07-10 09:18   
actually was enough to create the /var/efw/radiusd folder..

this is problem is likely related to the mini arm installation