[systemd-bugs] [Bug 80582] New: timesyncd: clock is off

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 27 00:24:32 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80582

          Priority: medium
            Bug ID: 80582
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: timesyncd: clock is off
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: piotr.lewandowski+freedesktop at gmail.com
          Hardware: ARM
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

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: -

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140627/c9979f50/attachment.html>


More information about the systemd-bugs mailing list