When apache is asked to shutdown, it does not do so immediately. The Gentoo apache init script doesn't take this time into account. The supplied patch simply causes the stop() method to wait till apache has actually stopped before returning. Reproducible: Sometimes Steps to Reproduce: 1./etc/init.d/apache2 start 2./etc/init.d/apache2 restart 3./etc/init.d/apache2 restart Actual Results: No /usr/sbin/apache2 found running; none killed. Expected Results: Apache should have stopped, and then started again
Created attachment 109236 [details, diff] Makes stop() wait till no apache processes are running
*** This bug has been marked as a duplicate of bug 110556 ***