RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1069625 - httpd.conf uses icon bomb.gif for all files/dirs ending with core
Summary: httpd.conf uses icon bomb.gif for all files/dirs ending with core
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: httpd
Version: 6.5
Hardware: All
OS: All
unspecified
low
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: Filip Holec
URL:
Whiteboard:
Depends On:
Blocks: 1170215 2075406 2077039
TreeView+ depends on / blocked
 
Reported: 2014-02-25 12:25 UTC by Johan Kröckel
Modified: 2022-04-20 14:11 UTC (History)
4 users (show)

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".
Clone Of:
: 1170215 (view as bug list)
Environment:
Last Closed: 2015-07-22 05:52:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Debian BTS 467480 0 None None None Never
Red Hat Product Errata RHSA-2015:1249 0 normal SHIPPED_LIVE Low: httpd security, bug fix, and enhancement update 2015-07-20 17:50:12 UTC

Description Johan Kröckel 2014-02-25 12:25:06 UTC
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 14:26:59 UTC
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 05:52:59 UTC
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.