Skip to content
Discussion options

You must be logged in to vote

Yeah, I understand.

The thing is, while the startup is being controlled by s6-rc, there isn't much you can do; the solution I suggested tells s6-rc that the transition failed, but s6-rc is still trying to bring up the other services in parallel and will only exit when it has a result (either success or failure) from everything; there's no way to tell it to abort. It's usually not a problem because most people operate with reasonable timeouts.

If you want to quit immediately as soon as one service fails, you have to kill s6-rc, then call halt, rather than telling s6-rc that the service failed permanently. s6-rc isn't supervised, so there is no clean way of finding its pid, but in this case…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ItsDrike
Comment options

@skarnet
Comment options

Answer selected by ItsDrike
@ItsDrike
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants