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 Endian Bugtracker
Endian Issue Tracker





Please see now our new Bugtracker system: JIRA








View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004392Endian FirewallHotspotpublic2012-07-09 13:052012-07-10 09:18
Reporterluca-endian 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
PlatformOSOS Version
Product Version2.5 
Target VersionFixed in Version 
Summary0004392: logrotate tmpl script searches in the wrong path
DescriptionJust 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 ---------------
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0007947)
luca-endian (developer)
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 (developer)
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

- Issue History
Date Modified Username Field Change
2012-07-09 13:05 luca-endian New Issue
2012-07-09 13:06 luca-endian Summary logrotate tmp script look the wrong path => logrotate tmpl script searches in the wrong path
2012-07-09 16:56 luca-endian Note Added: 0007947
2012-07-10 09:18 luca-endian Note Added: 0007948

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker