Project

General

Profile

Bug #1183

[proton] Collectd fails to log anything for about an hour after boot.

lukeshu - over 7 years ago - . Updated over 7 years ago.

Status:
fixed
Priority:
bug
Assignee:
% Done:

100%


Description

Because of an unreliable hardware clock: collectd starts, writes a timestamp to the RRD files; timesyncd (the NTP client) sets the time back an hour; collectd's rrdtool plugin gets confused because time just went backward; collectd fails to log anything until the original logged timestamp is reached.

Before the most recent reboot, I had systemd order collectd.service After=time-sync.target; but that turned out not to actually work because it appears that timesyncd is allowing time-sync.target to be reached before it has actually synced the time.

I've opened a bug against timesyncd upstream: https://github.com/systemd/systemd/issues/5097

History

#1

Updated by lukeshu over 7 years ago

  • % Done changed from 0 to 100
  • Assignee set to lukeshu
  • Status changed from open to fixed

Installing https://git.lukeshu.com/systemd-timesyncd-wait/ has worked around the issue.

Also available in: Atom PDF