ClearOS Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000889ClearOSapp-date - Date and Timepublic2012-12-13 14:392012-12-21 10:17
Assigned Touser2 
PlatformOSOS Version
Product Version6.3.0 Updates 
Target Version6.4.0 Beta 1Fixed in Version6.4.0 Beta 1 
Summary0000889: The timesync function should behave differently if ntp is running
DescriptionThe /usr/sbin/timesync function (run through the webconfig, daily by cron and possibly during boot up) uses ntpdate which uses a single time server,, 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.

TagsNo tags attached.
Attached Files

- Relationships
related to 0000893closeduser2 The timesync function should behave differently if ntp is running 

-  Notes
2012-12-14 11:02

SVN 5190

- Issue History
Date Modified Username Field Change
2012-12-13 14:39 NickH New Issue
2012-12-13 17:22 user2 Assigned To => user2
2012-12-13 17:22 user2 Status new => confirmed
2012-12-14 10:55 user2 Issue cloned: 0000893
2012-12-14 10:57 user2 Relationship added related to 0000893
2012-12-14 11:02 user2 Note Added: 0000613
2012-12-14 11:02 user2 Status confirmed => resolved
2012-12-14 11:02 user2 Fixed in Version => 6.4.0 Beta 1
2012-12-14 11:02 user2 Resolution open => fixed
2012-12-14 11:03 user2 Target Version => 6.4.0 Beta 1
2012-12-21 10:17 user2 Status resolved => closed