s6-rc transition failures

2017-06-15 Thread Van Bemten, Lionel (Nokia - BE/Antwerp)
Hello all, I am facing questions regarding the way to correctly handle transition failures with s6-rc. The new permanent failure feature already clarifies some scenarios but I still have doubts about some cases. Below are two concrete examples. I would be happy to have remarks or suggestions about

Re: s6-rc transition failures

2017-06-15 Thread Laurent Bercot
I am facing questions regarding the way to correctly handle transition failures with s6-rc. The new permanent failure feature already clarifies some scenarios but I still have doubts about some cases. Below are two concrete examples. I would be happy to have remarks or suggestions about how to cop

Re: s6-rc transition failures

2017-06-16 Thread Van Bemten, Lionel (Nokia - BE/Antwerp)
Hello Laurent, Thanks for your answers. Other opinions/experience welcome. > That is a fair point. Normally, you should adjust the s6-rc > timeouts (both the global one and the service-specific one) to > make sure s6-rc does *not* time out before the service is ready - > but if there's an unexpe

Re: s6-rc transition failures

2017-06-18 Thread Laurent Bercot
Yes that would help. I suppose you also mean to wait for the service to go down before returning ? No, that would open the door to more issues if the finish script is bad or something like that. Generally speaking you can't do much if a destructor fails, and there's no possible good error handl