In /etc/init.d/apache2 the stop branch has checkconfig || return 1 in it, which is illogical, because you can not stop apache if you have a syntax error in your configs. It's logical for start or restart. But if you want to stop, it may moan, but not leave the user unable to stop a daemon or reverting to kill/killall. This is especially bad because things that were o.k. in apache 2.0 have been moved/changed in 2.2, so it get's in the way of upgrading. Reproducible: Always Steps to Reproduce: 1. Enter syntax error in an apache config file (or have one from 2.0 times) 2. try /etc/init.d/apche 2 stop or apache2ctl stop Actual Results: checkconfig moans, leaves with error 1, apache still running Expected Results: Should value user request (end apache), check config on start and restart/graceful only.
this is to prevent config errors on /etc/init.d/apache2 restart and it should stay like this