Skip to content

An [S] task with condition may never run #86

@troglobit

Description

@troglobit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions