[systemd-devel] Getting timesync on RO fs

RĂ©mi Pincent mr.lahorde at laposte.net
Sun Nov 5 15:41:05 UTC 2017


Hello,

Since systemd 235, timesyncd stamp file has been moved to /var/lib/systemd/timesync/clock . As my /var partition is RO 
is created a symlink to a clock file located in a RW partition, I got this error :

/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//
//Nov 05 16:05:44 rpi-home-master systemd[12023]: systemd-timesyncd.service: Failed at step STATE_DIRECTORY spawning 
/usr/lib/systemd/systemd-timesyncd: Read-only file system/

I've also tried to create a /var/lib/systemd/timesync symlink to a timesync folder in a RW partition. I get this error :

/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//
//Nov 05 16:37:42 rpi-home-master systemd[17668]: systemd-timesyncd.service: Failed at step STATE_DIRECTORY spawning 
/usr/lib/systemd/systemd-timesyncd: Not a directory/

How can I have timesyncd clock file in a separate partition?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20171105/4599a67c/attachment.html>


More information about the systemd-devel mailing list