| Summary: | debuginfo installer fails to handle 3rd-party .repo file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robin Green <greenrd> | ||||
| Component: | yum | Assignee: | Fedora Packaging Toolset Team <packaging-team> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 15 | CC: | anton, dvlasenk, ffesti, iprikryl, james.antill, jmoskovc, kklic, maxamillion, mtoman, npajkovs, pmatilai, tla, zpavlas | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-07-22 07:27:36 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
does the wrong repo works with yum? Yes, as I said above. Well, I think so, anyway. I've never actually installed any debuginfo package from it. How to reproduce crashes in yum library in abrt-action-install-debuginfo:
Obtain complete problem dump directory from the person experiencing the crash
If build_ids is missing, run:
abrt-action-analyze-core --core=coredump -o build_ids
Then, run:
abrt-action-install-debuginfo-to-abrt-cache --size_mb=4096
It is a suided-to-abrt-user small binary which calls abrt-action-install-debuginfo py script. If abrt-action-install-debuginfo crashes, look into its code in order to further diagnose the bug.
(In reply to comment #3) > How to reproduce crashes in yum library in abrt-action-install-debuginfo: > > Obtain complete problem dump directory from the person experiencing the crash > If build_ids is missing, run: ... I meant, 'run in this directory' This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Bug no longer present in Fedora 17. |
Created attachment 480113 [details] file that causes problem Description of problem: I added a 3rd-party .repo file to /etc/yum.repos.d and arbt's debuginfo-installer tracebacks on trying to read it. Version-Release number of selected component (if applicable): abrt-1.1.17-1.fc15.1.x86_64 How reproducible: Haven't tried Steps to Reproduce: 1. install attached blipper.repo file in /etc/yum.repos.d 2. report a crash Actual results: parser.py:196:_pushfile:ConfigError: Error accessing file for config file://///etc/yum.repos.d/blipper.repo Traceback (most recent call last): File "/usr/bin/abrt-debuginfo-install", line 454, in <module> result = downloader.download(missing) File "/usr/bin/abrt-debuginfo-install", line 179, in download for repo in self.repos.listEnabled(): File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 855, in <lambda> repos = property(fget=lambda self: self._getRepos(), File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 575, in _getRepos self.getReposFromConfig() File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 467, in getReposFromConfig self.getReposFromConfigFile(repofn, repo_age=thisrepo_age) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 384, in getReposFromConfigFile confpp_obj = ConfigPreProcessor(repofn, vars=self.conf.yumvar) File "/usr/lib/python2.7/site-packages/yum/parser.py", line 87, in __init__ fo = self._pushfile( url ) File "/usr/lib/python2.7/site-packages/yum/parser.py", line 196, in _pushfile 'Error accessing file for config %s' % (absurl) ConfigError: Error accessing file for config file://///etc/yum.repos.d/blipper.repo Local variables in innermost frame: e: URLGrabError(14, 'Could not open/read file:///etc/yum.repos.d/blipper.repo') url: 'file://///etc/yum.repos.d/blipper.repo' includetuple: ('file://///etc/yum.repos.d/blipper.repo', None) self: <yum.parser.ConfigPreProcessor instance at 0x2a16cb0> absurl: 'file://///etc/yum.repos.d/blipper.repo' fo: None Expected results: no traceback Additional info: I had to correct this file to fix a broken URL in it - I've attached the corrected version, not the original version. The corrected version works fine in yum normally.