Anonymous | Login | 2024-11-21 01:46 MST |
Main | My View | View Issues | Change Log | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007931 | ClearCenter | app-remote-backup - Remote Server Backup | public | 2016-04-02 02:07 | 2016-05-03 13:09 | ||||
Reporter | bchambers | ||||||||
Assigned To | dsokoloski | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 7.2.0 Updates | ||||||||
Target Version | Fixed in Version | 7.2.0 Updates | |||||||
Summary | 0007931: Automatic Backup Fails in certain timezones | ||||||||
Description | This bit of code in /usr/clearos/apps/remote_backup/deploy/rbs_include.php $tz_abrv = 'UTC'; $tz_offs = 0; $ph = popen('/bin/date \'+%Z*%z\'', 'r'); if (is_resource($ph)) { $buffer = chop(fgets($ph, 4096)); if (pclose($ph) == 0) list($tz_abrv, $tz_offs) = explode('*', $buffer); } $tz_name = timezone_name_from_abbr($tz_abrv, $tz_offs * 36); if (@date_default_timezone_set($tz_name)) return; if (date_default_timezone_set('UTC')) return; returns an empty string for tz_name when the 'date' command returned is: [root@gateway tmp]# date Sat Apr 2 19:04:46 AEDT 2016 And when this happens, the auto start of the window never triggers. Need a more reliable way of getting TZ or handle case where tz_name is empty. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Issue History | |||
Date Modified | Username | Field | Change |
2016-04-02 02:07 | bchambers | New Issue | |
2016-05-03 13:08 | bchambers | Assigned To | => dsokoloski |
2016-05-03 13:08 | bchambers | Status | new => assigned |
2016-05-03 13:08 | bchambers | Status | assigned => acknowledged |
2016-05-03 13:08 | bchambers | Status | acknowledged => confirmed |
2016-05-03 13:09 | bchambers | Status | confirmed => resolved |
2016-05-03 13:09 | bchambers | Fixed in Version | => 7.2.0 Updates |
2016-05-03 13:09 | bchambers | Resolution | open => fixed |
2016-05-03 13:09 | bchambers | Status | resolved => closed |