Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN]  /var/lib/systemd/clock empty  (Read 4268 times)

Offline bullgard4

  • User
  • Posts: 47
[EN] /var/lib/systemd/clock empty
« on: 2015/06/17, 08:01:08 »
http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.service.html: "
Quote
Files:
/var/lib/systemd/clock
This file contains the timestamp of last successful synchronization.
"
With me, systemd-timesyncd.service is running. Why is still /var/lib/systemd/clock empty?
Code: [Select]
~$ systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
   Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/systemd-timesyncd.service.d
           └─disable-with-time-daemon.conf
   Active: active (running) since Mi 2015-06-17 05:17:52 CEST; 2h 48min ago
     Docs: man:systemd-timesyncd.service(
 Main PID: 489 (systemd-timesyn)
   Status: "Synchronized to time server 62.116.162.126:123 (2.arch.pool.ntp.org)."
   CGroup: /system.slice/systemd-timesyncd.service
           └─489 /lib/systemd/systemd-timesyncd

Jun 17 05:17:52 siductionbox systemd[1]: Starting Network Time Synchronization...
Jun 17 05:17:52 siductionbox systemd[1]: Started Network Time Synchronization.
Jun 17 05:18:23 siductionbox systemd-timesyncd[489]: Synchronized to time server 62.116.162.126:123 (2.arch.pool.ntp.org).
« Last Edit: 2015/06/17, 08:27:45 by bullgard4 »

Offline ralul

  • User
  • Posts: 1.814
Re: /var/lib/systemd/clock empty
« Reply #1 on: 2015/06/17, 15:40:17 »
What about the upstream bug
https://bugs.freedesktop.org/show_bug.cgi?id=86292
Is there shown a workaround for you ?
experiencing siduction runs better than my gentoo makes me know I know nothing

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.406
    • Land of the Buckeye
Re: /var/lib/systemd/clock empty
« Reply #2 on: 2015/06/17, 19:25:14 »
Hmmmm.  Just out of curiosity, I checked two of my siduction systems.  They both have ntp installed.  On both of them, I see a result like this:


Code: [Select]
root@imerabox:/# systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization                                                                                   
   Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)                                           
  Drop-In: /lib/systemd/system/systemd-timesyncd.service.d
           └─disable-with-time-daemon.conf
   Active: inactive (dead)
Condition: start condition failed at Wed 2015-06-17 13:14:26 EDT; 4min 9s ago
           ConditionFileIsExecutable=!/usr/sbin/ntpd was not met
     Docs: man:systemd-timesyncd.service(


Jun 07 08:57:10 imerabox systemd[1]: Started Network Time Synchronization.
Jun 17 13:14:26 imerabox systemd[1]: Started Network Time Synchronization.
root@imerabox:/# apt-cache policy ntp
ntp:
  Installed: 1:4.2.6.p5+dfsg-7
  Candidate: 1:4.2.6.p5+dfsg-7
  Version table:
 *** 1:4.2.6.p5+dfsg-7 0
        500 http://http.debian.net/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status
root@imerabox:/# ls -la /usr/sbin/ntpd
-rwxr-xr-x 1 root root 549648 Apr 10 15:04 /usr/sbin/ntpd
root@imerabox:/#


My systems are clearly syncronized with an ntp server somewhere -- they show exactly the same time as a cellphone does.  I don't regard this phenomenon as a problem, but it is a curiosity.  My google-foo doesn't reveal anything about the failure message.


BTW, seeing not a word of deutsch, this thread is moving to the EN side.
« Last Edit: 2015/06/17, 22:13:24 by dibl »
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO