Bug 841258

Summary: document how to enable debuginfo downloading in rhel6
Product: Red Hat Enterprise Linux 6 Reporter: Jiri Moskovcak <jmoskovc>
Component: doc-Deployment_GuideAssignee: Miroslav Svoboda <msvoboda>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: dfediuck, dkutalek, jhradile, jskeoch, mnowak, nobody+abrt-devel-list, rvokal, ychavan
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-25 13:10:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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