BOS edges have a read-only root partition. That causes many services to fail in starting.
This can usually be fixed as follows (here using timesyncd as an example):
- Reading the log on restart or start of the service in question (journald)
- find problems in the log, especially: of directories that need to be written to temporarily
- then either:
- Creating the appropriate directories:
- here: sudo mkdir /var/lib/systemd/timesync
- Provide the directory contents as a temporary ramdisk.
- here: echo "tmpfs /var/lib/systemd/timesync tmpfs defaults 0 0" >> /etc/fstab
- or:
- Creating the directories under /var/bos/settings/tmp.
- Link with ln -s TARGET LINK_NAME
- Restart the service, if necessary parameterize before (sudo nano /etc/systemd/timesyncd.conf, systemctl restart systemd-timesyncd.service)