Red Hat Bugzilla – Bug 77206
httpd crashes when there is a filename in /etc/httpd/conf.d it can't understand
Last modified: 2007-04-18 12:48:07 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020830
Description of problem:
A client of mine somehow created a filename of *.conf in /etc/httpd/conf.d which
from then on caused httpd to cause on start. I ran gdb and it said
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 4313)]
0x40234500 in apr_dir_read () from /usr/lib/libapr.so.0
Removing the file *.conf fixed the problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install httpd and httpd-devel
2. touch /etc/httpd/conf.d/\*.conf
3. service httpd start
Actual Results: httpd crashes
Expected Results: httpd to start normally or give an error message
Ouch - this causes the config processing to go into an infinite loop. Thanks
for the report.
Changing the Include statement in httpd.conf to:
is one workaround.
Just tried this again with the httpd in Phoebe beta and it still crashes httpd
the exact same way.
This will be fixed for the next release by making httpd ignore any filenames
which are valid wildcard patterns, so the "*.conf" file will then be skipped.