Bug 55670 - Startup may fail silently at post_config
Summary: Startup may fail silently at post_config
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 minor (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Keywords: FixedInTrunk
Depends on:
Reported: 2013-10-18 15:11 UTC by Nick Kew
Modified: 2013-10-19 15:12 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Nick Kew 2013-10-18 15:11:05 UTC
Where httpd fails on startup, users expect an error message to show on stderr.

But when a fatal error occurs in a post_config function, all messages including the core's final "Configuration Failed" go only to error_log.  The commandline user gets no clue that startup failed.  apachectl is also silent.

Solution: if something fails at ap_run_post_config, main.c should report on stderr immediately before exit!
Comment 1 Nick Kew 2013-10-19 15:12:46 UTC
Trunk fix in r1533728.

Will see if anyone screams before proposing backport.