<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - timesyncd: clock is off"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80582">80582</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>timesyncd: clock is off
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>piotr.lewandowski+freedesktop@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>ARM
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>I have enabled systemd-timesyncd on my system (Raspberry Pi, no RTC) and now
the clock is off by >1 hour.
This happened both on systemd 213 and 214.
I am using Arch Linux.
The time skew is not constant:
# date -u; curl -s -I www.google.com | grep ^Date:
Fri Jun 27 05:26:05 UTC 2014
Date: Fri, 27 Jun 2014 07:21:07 GMT
And 9 days ago:
# date -u; curl -s -I www.google.com | grep ^Date:
Wed Jun 18 18:32:37 UTC 2014
Date: Wed, 18 Jun 2014 19:37:56 GMT
# timedatectl
Local time: Wed 2014-06-18 20:33:14 CEST
Universal time: Wed 2014-06-18 18:33:14 UTC
RTC time: n/a
Time zone: Europe/Zurich (CEST, +0200)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2014-03-30 01:59:59 CET
Sun 2014-03-30 03:00:00 CEST
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2014-10-26 02:59:59 CEST
Sun 2014-10-26 02:00:00 CET
# journalctl -n24 _SYSTEMD_UNIT=systemd-timesyncd.service
-- Logs begin at Thu 1970-01-01 01:00:09 CET, end at Wed 2014-06-18 20:31:56
CEST. --
Jun 18 20:31:56 hostname systemd-timesyncd[601]: Sent NTP request to
216.239.32.15:123 (time1.google.com).
Jun 18 20:31:56 hostname systemd-timesyncd[601]: NTP response:
Jun 18 20:31:56 hostname systemd-timesyncd[601]: leap : 0
Jun 18 20:31:56 hostname systemd-timesyncd[601]: version : 4
Jun 18 20:31:56 hostname systemd-timesyncd[601]: mode : 4
Jun 18 20:31:56 hostname systemd-timesyncd[601]: stratum : 2
Jun 18 20:31:56 hostname systemd-timesyncd[601]: precision : 0.000001 sec
(-20)
Jun 18 20:31:56 hostname systemd-timesyncd[601]: reference : n/a
Jun 18 20:31:56 hostname systemd-timesyncd[601]: origin :
1403116316.737
Jun 18 20:31:56 hostname systemd-timesyncd[601]: receive :
3612109034.793
Jun 18 20:31:56 hostname systemd-timesyncd[601]: transmit :
3612109034.793
Jun 18 20:31:56 hostname systemd-timesyncd[601]: dest :
1403116316.737
Jun 18 20:31:56 hostname systemd-timesyncd[601]: offset : +0.000 sec
Jun 18 20:31:56 hostname systemd-timesyncd[601]: delay : +0.000 sec
Jun 18 20:31:56 hostname systemd-timesyncd[601]: packet count : 3
Jun 18 20:31:56 hostname systemd-timesyncd[601]: jitter : 0.000
Jun 18 20:31:56 hostname systemd-timesyncd[601]: poll interval: 256
Jun 18 20:31:56 hostname systemd-timesyncd[601]: adjust (slew): +0.000 sec
Jun 18 20:31:56 hostname systemd-timesyncd[601]: status : 8193 sync
Jun 18 20:31:56 hostname systemd-timesyncd[601]: time now :
1403116316.595
Jun 18 20:31:56 hostname systemd-timesyncd[601]: constant : 4
Jun 18 20:31:56 hostname systemd-timesyncd[601]: offset : +0.000 sec
Jun 18 20:31:56 hostname systemd-timesyncd[601]: freq offset : +0 (0 ppm)
Jun 18 20:31:56 hostname systemd-timesyncd[601]:
interval/delta/delay/jitter/drift 256s/+0.000s/0.000s/0.000s/+0ppm
# date -d @1403116316
Wed Jun 19 20:31:56 CEST 2014
# stat /var/lib/systemd/clock
File: '/var/lib/systemd/clock'
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: b305h/45829d Inode: 23745 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 192/systemd-timesync) Gid: (
192/systemd-timesync)
Access: 2014-06-18 20:36:12.852513000 +0200
Modify: 2014-06-18 20:36:12.852513000 +0200
Change: 2014-06-18 20:36:12.852513000 +0200
Birth: -</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>