Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 165448

Summary: Apache2 init script does not restart reliably
Product: Gentoo Linux Reporter: John McFarlane <john.mcfarlane>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-t-519663-highlight-apache+pid.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Makes stop() wait till no apache processes are running

Description John McFarlane 2007-02-05 14:25:32 UTC
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
Comment 1 John McFarlane 2007-02-05 14:26:26 UTC
Created attachment 109236 [details, diff]
Makes stop() wait till no apache processes are running
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-05 14:31:11 UTC

*** This bug has been marked as a duplicate of bug 110556 ***