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 841258 - document how to enable debuginfo downloading in rhel6
Summary: document how to enable debuginfo downloading in rhel6
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: doc-Deployment_Guide
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Svoboda
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-18 14:00 UTC by Jiri Moskovcak
Modified: 2015-10-06 02:12 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-25 13:10:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jiri Moskovcak 2012-07-18 14:00:58 UTC
Description of problem:
The debuginfo install and bugzilla plugin are disabled by default in rhel6 and since the process is not straightforward we should document it either in deployment guide or as kbase article

Comment 3 Jiri Moskovcak 2012-08-17 08:45:54 UTC
To enable automatic debuginfo downloading user needs to tweak the file /etc/libreport/events.d/ccpp_event.conf. It should contain following lines:

EVENT=analyze_LocalGDB analyzer=CCpp
        abrt-action-analyze-core --core=coredump -o build_ids &&
        # In RHEL we don't want to install anything by default
        # and also this would fail, as the debuginfo repositories.
        # are not available without root password rhbz#759443
        # /usr/libexec/abrt-action-install-debuginfo-to-abrt-cache --size_mb=4096 &&
        abrt-action-generate-backtrace &&
        abrt-action-analyze-backtrace

all what's neede is to uncomment (remove leading '#') the line:

# /usr/libexec/abrt-action-install-debuginfo-to-abrt-cache --size_mb=4096 &&

so the final line is like this:

/usr/libexec/abrt-action-install-debuginfo-to-abrt-cache --size_mb=4096 &&

NOTE: please note, that the automatic debuginfo install won't work for non-root when the debuginfo packages are served from RHN repositories - more info: rhbz#759443

Comment 4 Jiri Moskovcak 2012-08-17 08:54:01 UTC
To enable bugzilla plugin the following steps have to be done:

1. install libreport-plugin-bugzilla
$ yum install libreport-plugin-bugzilla

2. edit file /etc/libreport/events.d/bugzilla_event.conf and add line:
EVENT=report_Bugzilla reporter-bugzilla -b

- this will enable the bugzilla plugin for ALL types of problem, if user wants to enable it only for a specific type of a problem, the line added to bugzilla_event.conf should look like this:

C/C++ crashes:

EVENT=report_Bugzilla analyzer=CCpp reporter-bugzilla -b

Python crashes:

EVENT=report_Bugzilla analyzer=Python reporter-bugzilla -b

Kerneloops crashes:

EVENT=report_Bugzilla analyzer=Kerneloops reporter-bugzilla -b


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