Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1069625 - httpd.conf uses icon bomb.gif for all files/dirs ending with core
httpd.conf uses icon bomb.gif for all files/dirs ending with core
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: httpd (Show other bugs)
6.5
All All
unspecified Severity low
: rc
: ---
Assigned To: Web Stack Team
Filip Holec
:
Depends On:
Blocks: 1170215
  Show dependency treegraph
 
Reported: 2014-02-25 07:25 EST by Johan Kröckel
Modified: 2016-04-18 06:26 EDT (History)
4 users (show)

See Also:
Fixed In Version: httpd-2.2.15-40.el6
Doc Type: Bug Fix
Doc Text:
Previously, httpd regular expression for matching core-dumps was too broad, and files like "score" were also marked as core-dumps and were displayed with a bomb icon in the directory index. The regular expression has been fixed to match only files named "core".
Story Points: ---
Clone Of:
: 1170215 (view as bug list)
Environment:
Last Closed: 2015-07-22 01:52:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Debian BTS 467480 None None None Never
Red Hat Product Errata RHSA-2015:1249 normal SHIPPED_LIVE Low: httpd security, bug fix, and enhancement update 2015-07-20 13:50:12 EDT

  None (edit)
Description Johan Kröckel 2014-02-25 07:25:06 EST
Description of problem:
The line
AddIcon /icons/bomb.gif core
matches all files ending with "core" like a file name "Score" and not only a file named "core".
I think it should be
AddIcon /icons/bomb.gif /core
to match only "/core" (path is relative).
Comment 6 Martin Frodl 2015-02-26 09:26:59 EST
I would like to point out that starting from 2.4 kernel, core dump files are named core.<PID> by default (this behaviour can be customised by modifying files /proc/sys/kernel/core_pattern and /proc/sys/kernel/core_uses_pid accordingly). Such files are, however, still not displayed with the bomb icon in directory listings.

In order to support both naming patterns, the original line in httpd.conf should be split into two (at least I have not been able to think of a better solution):

AddIcon /icons/bomb.gif /core
AddIcon /icons/bomb.gif */core.*
Comment 8 errata-xmlrpc 2015-07-22 01:52:59 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1249.html

Note You need to log in before you can comment on or make changes to this bug.