Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165448 - Apache2 init script does not restart reliably
Summary: Apache2 init script does not restart reliably
Status: RESOLVED DUPLICATE of bug 110556
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 14:25 UTC by John McFarlane
Modified: 2007-02-05 14:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Makes stop() wait till no apache processes are running (apache2.patch,578 bytes, patch)
2007-02-05 14:26 UTC, John McFarlane
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***