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

0000321: DHCP restartscript fails stopping dhcp if it is unconfigured - MantisBT
MantisBT - Endian Firewall
View Issue Details
0000321Endian FirewallOther Scriptspublic2007-11-19 16:172008-02-02 07:28
peter-endian 
peter-endian 
normalminoralways
closedfixed 
 
2.2-beta32.2-beta3 
0000321: DHCP restartscript fails stopping dhcp if it is unconfigured
if dhcp settings file is empty restartdhcpd.py --stop fails with this traceback:

Traceback (most recent call last):
  File "/usr/local/bin/restartdhcp.py", line 415, in ?
    loadConfig()
  File "/usr/local/bin/restartdhcp.py", line 385, in loadConfig
    actualize_subnets()
  File "/usr/local/bin/restartdhcp.py", line 332, in actualize_subnets
    if actualize_subnets_zone('GREEN', config_values):
  File "/usr/local/bin/restartdhcp.py", line 312, in actualize_subnets_zone
    if conf['DNS1_'+zone] == net_conf_old[zone+'_ADDRESS']:
KeyError: 'DNS1_GREEN'
No tags attached.
Issue History
2007-11-19 16:17peter-endianNew Issue
2007-11-19 16:17peter-endianStatusnew => assigned
2007-11-19 16:17peter-endianAssigned To => peter-endian
2008-01-09 20:18peter-endianTarget Version => 2.2-beta3
2008-01-21 14:53peter-endianStatusassigned => resolved
2008-01-21 14:53peter-endianFixed in Version => 2.2-beta3
2008-01-21 14:53peter-endianResolutionopen => fixed
2008-02-02 07:28raphael-endianStatusresolved => closed

There are no notes attached to this issue.