ClearFoundation Tracker - ClearOS
View Issue Details
0000889ClearOSapp-date - Date and Timepublic2012-12-13 14:392012-12-21 10:17
NickH 
user2 
normaltweakalways
closedfixed 
6.3.0 Updates 
6.4.0 Beta 16.4.0 Beta 1 
0000889: The timesync function should behave differently if ntp is running
The /usr/sbin/timesync function (run through the webconfig, daily by cron and possibly during boot up) uses ntpdate which uses a single time server, time.clearsdn.com, to set the system time. If you are running ntp you are normally using different time servers so the nightly cron job introduces jitter. There is no obvious way of permanently disabling the cron job apart from commenting out the line and setting the immutable bit but this can cause problems if the program gets updated.

A better solution would be to change the /usr/sbin/timesync script so that if it detects ntpd running, instead of using the ntpdate command, it uses the "ntpd -q" command (or, failing that, just exits). The ntpq command would use the time servers configured for ntp so would not introduce any jitter.

No tags attached.
related to 0000893closed user2 The timesync function should behave differently if ntp is running 
Issue History
2012-12-13 14:39NickHNew Issue
2012-12-13 17:22user2Assigned To => user2
2012-12-13 17:22user2Statusnew => confirmed
2012-12-14 10:55user2Issue cloned: 0000893
2012-12-14 10:57user2Relationship addedrelated to 0000893
2012-12-14 11:02user2Note Added: 0000613
2012-12-14 11:02user2Statusconfirmed => resolved
2012-12-14 11:02user2Fixed in Version => 6.4.0 Beta 1
2012-12-14 11:02user2Resolutionopen => fixed
2012-12-14 11:03user2Target Version => 6.4.0 Beta 1
2012-12-21 10:17user2Statusresolved => closed

Notes
(0000613)
user2   
2012-12-14 11:02   
SVN 5190