<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - systemd-timesyncd When no --with-ntp-servers is provided ntp doesn't work. [PATCH]"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89676">89676</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemd-timesyncd When no --with-ntp-servers is provided ntp doesn't work. [PATCH]
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>costamagnagianfranco@yahoo.it
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=114470" name="attach_114470" title="patch">attachment 114470</a> <a href="attachment.cgi?id=114470&action=edit" title="patch">[details]</a></span>
patch
Hi, as said in the title, I built systemd for yocto, without changing the
default ntp configuration.
seems that time1.google.com doesnt' work, at least timesyncd keeps switching
between google ntp servers with no luck.
changing to ntp pool fixes the issue.
Patch following
>From 0cf1d11dee4af9fe515c18b115874ce5f229d69d Mon Sep 17 00:00:00 2001
From: Gianfranco Costamagna <<a href="mailto:costamagnagianfranco@yahoo.it">costamagnagianfranco@yahoo.it</a>>
Date: Thu, 19 Mar 2015 14:32:41 +0100
Subject: [PATCH] When no --with-ntp-servers is provided default to
pool.ntp.org rather than on the non-working time.google.com
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 29111f5..8c6a7f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1051,7 +1051,7 @@ AC_ARG_WITH(ntp-servers,
AS_HELP_STRING([--with-ntp-servers=NTPSERVERS],
[Space-separated list of default NTP servers]),
[NTP_SERVERS="$withval"],
- [NTP_SERVERS="time1.google.com time2.google.com time3.google.com
time4.google.com"])
+ [NTP_SERVERS="pool.ntp.org 0.pool.ntp.org 1.pool.ntp.org
2.pool.ntp.org 3.pool.ntp.org"])
AC_DEFINE_UNQUOTED(NTP_SERVERS, ["$NTP_SERVERS"], [Default NTP Servers])
AC_SUBST(NTP_SERVERS)
--
2.1.0</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>