nettings / medianet

A distribution overlay for Raspbian and similar systems to create a JACK-based embedded system for audio processing and streaming. Contract work for [mn] medianet. https://www.medianet-home.de
Other
11 stars 2 forks source link

Missing directories prevent timesync from running (and thus jack). #63

Closed nettings closed 3 years ago

nettings commented 3 years ago
Oct 14 11:17:06 mn-vpidsp-2x2a systemd[369]: systemd-timesyncd.service: Failed to set up special execution directory in /var/lib: No s
Oct 14 11:17:06 mn-vpidsp-2x2a systemd[369]: systemd-timesyncd.service: Failed at step STATE_DIRECTORY spawning /lib/systemd/systemd-t
Oct 14 11:17:06 mn-vpidsp-2x2a systemd[1]: systemd-timesyncd.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
Oct 14 11:17:06 mn-vpidsp-2x2a systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'.
Oct 14 11:17:06 mn-vpidsp-2x2a systemd-fsck[346]: Setting free inodes count to 1703844 (was 1703857)
Oct 14 11:17:06 mn-vpidsp-2x2a systemd-fsck[346]: Setting free blocks count to 6674341 (was 6674372)
Oct 14 11:17:06 mn-vpidsp-2x2a systemd-fsck[346]: localfs: clean, 92/1703936 files, 116827/6791168 blocks
Oct 14 11:17:06 mn-vpidsp-2x2a systemd[1]: Failed to start Network Time Synchronization.
Oct 14 11:17:06 mn-vpidsp-2x2a systemd[1]: systemd-timesyncd.service: Service has no hold-off time (RestartSec=0), scheduling restart.
Oct 14 11:17:06 mn-vpidsp-2x2a systemd[1]: systemd-timesyncd.service: Scheduled restart job, restart counter is at 1.
Oct 14 11:17:06 mn-vpidsp-2x2a systemd[1]: Stopped Network Time Synchronization.
Oct 14 11:17:06 mn-vpidsp-2x2a systemd[1]: Starting Network Time Synchronization...
Oct 14 11:17:06 mn-vpidsp-2x2a systemd[373]: systemd-timesyncd.service: Failed to set up special execution directory in /var/lib: No s
Oct 14 11:17:06 mn-vpidsp-2x2a systemd[373]: systemd-timesyncd.service: Failed at step STATE_DIRECTORY spawning /lib/systemd/systemd-t
Oct 14 11:17:06 mn-vpidsp-2x2a systemd[1]: systemd-timesyncd.service: Main process exited, code=exited, status=238/STATE_DIRECTORY

Fixes itself after mn_make_writable ; sudo systemctl restart systemd-timesyncd, but I have no clue which file actually was the culprit. The error message might be misleading.

nettings commented 3 years ago

duplicate of #72