httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 43502] httpd fails to start if log directory does not exist; though httpd -t passes
Date Thu, 19 Feb 2009 18:00:38 GMT

--- Comment #9 from David Fraser <>  2009-02-19 10:00:37 PST ---
(In reply to comment #8)
> It seems pretty odd to do this.  If you have some process which is randomly
> making your log directory unwritable outside of your control (or knowledge),
> who is to say that the log directory isn't going to become unwritable between
> when the testconfig hook runs, and startup completes?

The original use case for this was not someone making the log directory
unwriteable, but someone (myself!) forgetting to add the directory referred to
in the ErrorLog directive. I would then run configtest and since it said
everything looked OK, thought I was good to go - but restarting the server
would actually stop it dead.

At least printing out a warning gives you a flag that that needs to be fixed.
It needn't actually try writing to the files - just checking that their
directories exist would be OK for me...

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message