<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - timesyncd: documentation about /var/lib/systemd/clock is wrong"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90085">90085</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>timesyncd: documentation about /var/lib/systemd/clock is wrong
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>norrepli@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>The documentation at
<a href="http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.service.html">http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.service.html</a>
says:
<span class="quote">> /var/lib/systemd/clock
> This file contains the timestamp of last successful synchronization.</span >
However, that file is created even if systemd-timesyncd couldn't connect to a
server. See src/timesync/timesyncd.c, lines 63-64:
<span class="quote">> /* create stamp file with the compiled-in date */
> touch_file("/var/lib/systemd/clock", true, min, uid, gid, 0644);</span >
I wouldn't call creating a file with the timestamp of the systemd build a
"successful synchronization".</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>