ClearFoundation Tracker - ClearOS
View Issue Details
0000893ClearOSapp-ntp - NTP Serverpublic2012-12-14 10:552012-12-21 10:17
NickH 
user2 
normaltweakalways
closedfixed 
6.3.0 Updates 
6.4.0 Beta 16.4.0 Beta 1 
0000893: 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 0000889closed user2 The timesync function should behave differently if ntp is running 
Issue History
2012-12-14 10:55user2New Issue
2012-12-14 10:55user2Statusnew => assigned
2012-12-14 10:55user2Assigned To => user2
2012-12-14 10:55user2Issue generated from: 0000889
2012-12-14 10:56user2Reporteruser2 => NickH
2012-12-14 10:56user2Target Version => 6.4.0 Beta 1
2012-12-14 10:57user2Note Added: 0000612
2012-12-14 10:57user2Statusassigned => resolved
2012-12-14 10:57user2Fixed in Version => 6.4.0 Beta 1
2012-12-14 10:57user2Resolutionopen => fixed
2012-12-14 10:57user2Relationship addedrelated to 0000889
2012-12-21 10:17user2Statusresolved => closed

Notes
(0000612)
user2   
2012-12-14 10:57   
SVN 5189