I’ve noticed that the text mode boot process on some distributions produce very neat output, something like:
* Starting service X … [ OK ] * Starting service Y … [ FAIL ] * Starting service Z … [ OK ]
I’ve noticed that the text mode boot process on some distributions produce very neat output, something like:
* Starting service X … [ OK ] * Starting service Y … [ FAIL ] * Starting service Z … [ OK ]
I think the solution can be found in this blog post by Jonathan McDowell. I use it on my machines to easily identify services that failed on boot.
Hi, thanks a lot for your answer. That’s exactly what I was looking for, and after adapting it a bit for Squeeze, it seems to work flawlessly.
I’m using wheezy ATM, are there any adaptations you made that would be helpful for me to know before I try the script? I used to run RedHat from 6 to 8 & I remember that boot style as being a good thing
Basically I merged the changes proposed in the article into /lib/lsb/init-functions. Then I built a custom package, which provides a new init-functions script, diverting from the real one (obviously this last step is not necessary, but it can be useful if you’re planning to do the same thing on a big number of machines). Since the delta between Squeeze and Wheezy is still relatively small, I think my approach should work for now. A fair warning: the boot output won’t be as pretty as the one offered by RedHat and other distributions. This is mainly because there seems to be some init scripts that were crafted poorly, and will mess with the output no matter what (or they won’t call the functions present in /lib/lsb/init-functions). So YMMV, but applying the patch definitely makes the boot process looks nicer.