Bug 47219 - Apachectl configtest doesn't check if log directories are created and/or writeable
Summary: Apachectl configtest doesn't check if log directories are created and/or writ...
Status: RESOLVED DUPLICATE of bug 29941
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.2.9
Hardware: All Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: ErrorMessage
Depends on:
Blocks:
 
Reported: 2009-05-19 06:08 UTC by Michiel
Modified: 2011-12-28 14:53 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel 2009-05-19 06:08:17 UTC
When the log directory is not created/writable, apache2 fails to start or restart. Running "apachectl configtest" gives "Syntax OK", so it doesn't report this as an error.

According to the documentation about apachectl configtest: "This test does not catch all errors.".

While this is true, I think this one should be caught because it is (I think) simple to check and prevent. Also, "apachectl configtest" checks if DocumentRoot is created and writable, so it is inconsistent (and not expected) if it checks one path, but not the other.

This 'bug' (I prefer 'missing feature'), would not be so bad if 'apachectl restart' would report that it stops working because of missing/unwritable log directories (but this is another matter).
Comment 1 Stefan Fritsch 2011-12-28 14:53:56 UTC

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