Some bootstrap [S] tasks may not get time to run at boot if a condition is slow to be asserted.
E.g.
task [S] </svc/sbin/syslogd> /sbin/probe -- Probe system
In a setup at Westermo this little task, moved from /etc/finit.conf and converted from a run to a task, never ran once. Instead, Finit just continue to change to the default runlevel.
It would be highly useful if Finit could ensure that a task, as well as run, stanza is run at least once per configured runlevel. The run stanza is blocking, but a task must not block a runlevel change forever, possibly keep a separate timer (10 sec?) to let tasks complete.
Some bootstrap
[S]
tasks may not get time to run at boot if a condition is slow to be asserted.E.g.
In a setup at Westermo this little task, moved from
/etc/finit.conf
and converted from arun
to atask
, never ran once. Instead, Finit just continue to change to the default runlevel.It would be highly useful if Finit could ensure that a task, as well as run, stanza is run at least once per configured runlevel. The
run
stanza is blocking, but atask
must not block a runlevel change forever, possibly keep a separate timer (10 sec?) to let tasks complete.