ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001121ClearOSapp-date - Date and Timepublic2013-04-26 09:222013-05-07 19:04
Reporteruser2 
Assigned Touser2 
PrioritynormalSeveritytweakReproducibilitysometimes
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version6.4.0 UpdatesFixed in Version6.4.0 Updates 
Summary0001121: Hardware clock sync fails in some VM environments
DescriptionIn some VM environments (including Amazon EC2), the hwclock command does not work. An example backtrace in /var/log/system:

Apr 24 09:07:01 system engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (207): Cannot access the Hardware Clock via any known method.
Apr 24 09:07:01 system engine: exception: debug backtrace: /usr/clearos/apps/date/libraries/NTP_Time.php (307): execute
Apr 24 09:07:01 system engine: exception: debug backtrace: /usr/sbin/timesync (98): synchronize_hardware_clock

Avoid throwing an exception since this is not really an exception in many cases.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000826)
user2
2013-04-26 09:24

Source Code Changelog
---------------------------------------------------
- Avoid throwing an exception on hardware clock sync (which is not always available) [fixed tracker 0001121]

File Changes
---------------------------------------------------
Details: http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=5936 [^]
U webconfig/apps/date/trunk/libraries/NTP_Time.php

- Issue History
Date Modified Username Field Change
2013-04-26 09:22 user2 New Issue
2013-04-26 09:23 user2 Status new => confirmed
2013-04-26 09:24 user2 Checkin
2013-04-26 09:24 user2 Note Added: 0000826
2013-04-26 09:24 user2 Status confirmed => resolved
2013-04-26 09:24 user2 Resolution open => fixed
2013-05-07 19:04 user2 Status resolved => closed
2013-05-07 19:04 user2 Assigned To => user2
2013-05-07 19:04 user2 Fixed in Version => 6.4.0 Updates