On 13/05/2016 18:41, Eric Vidal wrote:
i have made it. It works yes, but if i want a service like
syslogd-linux (or any other service which need to read/write on /)
started at the end of the init script by s6-svcscan with the /
mounted on ro, the syslogd service fail, because it can write the log
on e.g. /var/log/. So the service must wait until the / is mounted
rw.

Anyway thank for your time and explanation. i will try to find a
solution

 Have a separate filesystem for /var, so you can keep / read-only.
 Or, define your loggers as s6-rc services instead of initial services,
and make them depend on a "remount / read-write" oneshot.

--
 Laurent

Reply via email to