Bug 7178 - NTPd package cannot sync time without a proper ntp.conf
Summary: NTPd package cannot sync time without a proper ntp.conf
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2014.05
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-10 10:36 UTC by Angelo
Modified: 2014-07-12 18:47 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Patch for ntpd syncing fixing (2.56 KB, patch)
2014-06-10 10:37 UTC, Angelo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angelo 2014-06-10 10:36:41 UTC
NTPd cannot sync time without proper ntp.conf file.

This patch provides a minimal configuration file for correct time syncing, it adds the -g flag to ntpd to adjust time also with big offsets and remove the deprecated use of ntpdate command for initial time syncing because unnecessary.
Comment 1 Angelo 2014-06-10 10:37:45 UTC
Created attachment 5432 [details]
Patch for ntpd syncing fixing
Comment 2 Thomas De Schampheleire 2014-06-10 10:48:03 UTC
Hi Angelo, 

Could you please send this patch to the mailing list instead? This way, it is much easier for others to review your patch, and for the maintainer to accept it.

Thanks!
Thomas
Comment 3 Thomas De Schampheleire 2014-06-29 13:30:13 UTC
Patch has been sent to the mailing list:
http://patchwork.ozlabs.org/patch/357909/
Comment 4 Thomas De Schampheleire 2014-07-12 18:47:01 UTC
Patch accepted at http://git.buildroot.org/buildroot/commit/?id=35692bb5e5d189c9c7f7bd1f8fb77192c125382c