Bug 630434 - abrt should only search debuginfos for enabled repos
Summary: abrt should only search debuginfos for enabled repos
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jiri Moskovcak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-05 14:51 UTC by Peter Hjalmarsson
Modified: 2015-02-01 22:52 UTC (History)
9 users (show)

Fixed In Version: abrt-1.1.17-1
Clone Of:
Environment:
Last Closed: 2011-04-12 16:29:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Hjalmarsson 2010-09-05 14:51:44 UTC
Description of problem:
I am running Fedora 14 alpha with rpmfusion-*-rawhide enabled.
It seems like when ABRT tries to fetch debuginfos it runs yum like "yum --enable-repo='*-debuginfo'.
On my computer this has the problem that it also enables rpmfusion-free-debuginfo (and so on) even when they are not enabled repos in my configuration, and since rpmfusion is not branched yet for F14 ABRT/yum fails to fetch the metadata for this repo, making ABRT fail to fetch any debuginfo.

I could confim this by removing all /etc/yum.repo.d/*.repo for the branched rpmfusion repos, after that ABRT worked fine.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install Fedora 14 and download and enable rpmfusion-rawhide from their homepage (which on my system downloads all .repo if I follow the recommended way).
OR
1. Update Fedora 13 with rpmfusion installed/enabled
3. make a application crash
  
Actual results:
ABRT fails to download and install *-debuginfo

Expected results:
ABRT should download all debuginfos and create a good backtrace

Additional info:
I think that abrt should be smarter in handling of debuginfos and their repos.
There are some possibilities:
1. Figure out what repos are enabled and only enable *-debuginfo for these repos.
2. Figure out what repos the packages needing debuginfo was installed from and only enable those

Because apparently --enablerepo='*-debuginfo' does not cut it in some (pretty standard) situations.

Comment 1 Jiri Moskovcak 2011-04-12 16:29:31 UTC
Actually ABRT should enable only repositories which hold the required debuginfo and this is not doable because ABRT uses build-id to determine what packages are needed and when it asks yum "which packages provides this debuginfo" it doesn't know in which repository the required lives.
 
The problem with non-reachable repositories should be fixed in abrt-1.1.17 which is in F14.


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