Bug#835474: systemd: timesyncd does not sync time after resume from suspend (need to do so manually with timedatectl)

Elena ``of Valhalla'' valhalla-d at trueelena.org
Fri Aug 26 08:28:14 BST 2016


Package: systemd
Version: 231-4
Severity: normal

Dear Maintainer,

I suspend my laptop using s2disk. When resuming, the clock remains at
the time when the suspend happened, even if timedatectl claims that it
is being synced:

    # timedatectl status
	  Local time: Thu 2016-08-25 19:26:17 CEST
      Universal time: Thu 2016-08-25 17:26:17 UTC
	    RTC time: Thu 2016-08-25 17:26:17
	   Time zone: Europe/Rome (CEST, +0200)
     Network time on: yes
    NTP synchronized: yes
     RTC in local TZ: no

I've tried waiting a bit, but this persisted for some 20 minutes (I think), so I forced an update with 

  # timedatectl set-ntp false
  # timedatectl set-ntp true

And afterwards the time was (apparently) correctly synced.

Please, let me know what further informations are needed to debug the
issue, and I would be happy to do some other test.

P.S. I've kept the files generated by reportbug and I would be happy to
provide them to a maintainer, but right now I don't have time to check
them to the detail required before posting them on the publicily
available bts.

-- Package-specific info:

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  adduser         3.115
ii  libacl1         2.2.52-3
ii  libapparmor1    2.10.95-4
ii  libaudit1       1:2.6.6-1
ii  libblkid1       2.28.1-1
ii  libc6           2.23-4
ii  libcap2         1:2.25-1
ii  libcap2-bin     1:2.25-1
ii  libcryptsetup4  2:1.7.0-2
ii  libgcrypt20     1.7.3-1
ii  libgpg-error0   1.24-1
ii  libidn11        1.33-1
ii  libkmod2        22-1.1
ii  liblzma5        5.1.1alpha+20120614-2.1
ii  libmount1       2.28.1-1
ii  libpam0g        1.1.8-3.3
ii  libseccomp2     2.3.1-2
ii  libselinux1     2.5-3
ii  libsystemd0     231-4
ii  mount           2.28.1-1
ii  util-linux      2.28.1-1

Versions of packages systemd recommends:
ii  dbus            1.10.10-1
ii  libpam-systemd  231-4

Versions of packages systemd suggests:
ii  policykit-1        0.105-16
ii  systemd-container  231-4
pn  systemd-ui         <none>

Versions of packages systemd is related to:
ii  udev  231-4

-- no debconf information
-------------- next part --------------
[EXTENDED]   /lib/systemd/system/rc-local.service -> /lib/systemd/system/rc-local.service.d/debian.conf
[EXTENDED]   /lib/systemd/system/systemd-resolved.service -> /lib/systemd/system/systemd-resolved.service.d/resolvconf.conf
[EXTENDED]   /lib/systemd/system/systemd-timesyncd.service -> /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf

3 overridden configuration files found.


More information about the Pkg-systemd-maintainers mailing list