<div dir="ltr">On Sun, Nov 5, 2017 at 9:41 AM, Rémi Pincent <span dir="ltr"><<a href="mailto:mr.lahorde@laposte.net" target="_blank">mr.lahorde@laposte.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>Since systemd 235, timesyncd stamp file has been moved to
/var/lib/systemd/timesync/<wbr>clock . As my /var partition is RO is
created a symlink to a clock file located in a RW partition, I got
this error :</p>
<p><font face="Courier New"><i>Nov 05 16:05:44 rpi-home-master
systemd[12023]: systemd-timesyncd.service: Failed to set up
special execution directory in /var/lib: Read-only file system</i><i><br>
</i><i>Nov 05 16:05:44 rpi-home-master systemd[12023]:
systemd-timesyncd.service: Failed at step STATE_DIRECTORY
spawning /usr/lib/systemd/systemd-<wbr>timesyncd: Read-only file
system</i></font><br>
</p>
<p>I've also tried to create a /var/lib/systemd/timesync symlink to
a timesync folder in a RW partition. I get this error :</p>
<p><font face="Courier New"><i>Nov 05 16:37:42 rpi-home-master
systemd[17668]: systemd-timesyncd.service: Failed to set up
special execution directory in /var/lib: Not a directory</i><i><br>
</i><i>Nov 05 16:37:42 rpi-home-master systemd[17668]:
systemd-timesyncd.service: Failed at step STATE_DIRECTORY
spawning /usr/lib/systemd/systemd-<wbr>timesyncd: Not a directory</i></font><br>
</p>
<p>How can I have timesyncd clock file in a separate partition?<br>
</p>
</div>
<br></blockquote><div> </div></div></div><div class="gmail_extra">If you are like me and absolutely had to have all r/o physical filesystems and tmpfs for everything else, I switched to chrony and linked adjtime to a r/w tmpfs at boot. The issues I had with ntp went away and I no longer had to worry about wearing out my SD cards.</div><div class="gmail_extra"><br></div><div class="gmail_extra">-Greg<br></div></div>