Bug 55670

Summary: Startup may fail silently at post_config
Product: Apache httpd-2 Reporter: Nick Kew <nick>
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: minor Keywords: FixedInTrunk
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: All   
OS: All   

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.