[systemd-bugs] [Bug 90085] New: timesyncd: documentation about /var/lib/systemd/clock is wrong
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Apr 18 01:44:09 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90085
Bug ID: 90085
Summary: timesyncd: documentation about /var/lib/systemd/clock
is wrong
Product: systemd
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: norrepli at gmail.com
QA Contact: systemd-bugs at lists.freedesktop.org
The documentation at
http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.service.html
says:
> /var/lib/systemd/clock
> This file contains the timestamp of last successful synchronization.
However, that file is created even if systemd-timesyncd couldn't connect to a
server. See src/timesync/timesyncd.c, lines 63-64:
> /* create stamp file with the compiled-in date */
> touch_file("/var/lib/systemd/clock", true, min, uid, gid, 0644);
I wouldn't call creating a file with the timestamp of the systemd build a
"successful synchronization".
--
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/20150418/7c405ff7/attachment.html>
More information about the systemd-bugs
mailing list