-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script error in S6_STAGE2_HOOK does not halt the container #603
Comments
Yeah that's legitimate. I don't want to add too many bells and whistles to I'll change the behaviour in the next version of s6-overlay. |
If you can build s6-overlay yourself, can you please build the latest git head and tell me if it's working for you? The container should exit with a fatal error message if |
Hi, thanks for the changes! I will try running it later today. |
I tried to build it but failed with the following error.
It seems like the |
Right, you need GNU tar. You can install GNU tar on Alpine, though: the package is called |
Oh I did not know that, I will try that today. Thank you. |
I tried it out and confirmed that the container stopped. Here is the log.
|
Ah, so it's half-working - the container stops but the code path is wrong. Thanks, I will fix it. |
This is more of a question than an issue.
What do you think about adding a flag (like
S6_BEHAVIOUR_IF_STAGE2_HOOK_FAILS
) to halt the container instead of printing a warning here.I ask because I was expecting it to stop and was surprised when it continued with a warning.
Btw, thanks you for creating s6-overlay. It's exactly what I needed and is so much better than supervisord.
The text was updated successfully, but these errors were encountered: