My current issue is that I have a process hanging from supervisord that I want to make sure it gracefully sending network exists etc.., but by the time supervisor is brought down there is no network.
I've tracked this to the /etc/rc0.d/
folder in here I can see how K90network
will be executed before S00killall
which takes care of bringing down services, supervisord included. I find odd that this is the ordering because looking at S00killall
it has a piece of code to avoid bringing down the network in case its needed.
[ $subsys = network ] && continue
So, I am not sure how S00killall
could ever prevent network from going down if network is explicitly brought down for rc0
I am using CentOS release 6.8 (Final)