Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212837 - www-servers/apache-2.2.8 init script does not check status properly
Summary: www-servers/apache-2.2.8 init script does not check status properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-09 16:37 UTC by Dan Wallis
Modified: 2008-03-22 15:35 UTC (History)
0 users

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


Attachments
Patch for better status checking (apache2.diff,481 bytes, patch)
2008-03-09 16:39 UTC, Dan Wallis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Wallis 2008-03-09 16:37:20 UTC
When apache2 is not running, and one uses the "fullstatus" feature of the init script, a confusing error is returned.

Reproducible: Always

Steps to Reproduce:
1. # /etc/init.d/apache2 stop
2. # /etc/init.d/apache2 fullstatus

Actual Results:  
Error returned from Lynx saying it cannot connect to remote host.

Expected Results:  
Error returned from init script saying apache2 is not started
Comment 1 Dan Wallis 2008-03-09 16:39:03 UTC
Created attachment 145655 [details, diff]
Patch for better status checking

Here is a suggested fix. Comments/suggestions welcome. :)
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2008-03-22 15:35:16 UTC
fixed in svn, thanks