Bug 693801

Summary: [abrt] abrt-1.1.17-1.fc14: parser.py:195:_pushfile:ConfigError: Error accessing file for config file://///etc/yum.repos.d/remi.repo
Product: [Fedora] Fedora Reporter: Misha Shnurapet <shnurapet>
Component: abrtAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: anton, dfediuck, dvlasenk, iprikryl, jmoskovc, kklic, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:ad1a7f76
Fixed In Version: abrt-2.0.4.981-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-10 11:38:24 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:
Description Flags
File: backtrace none

Description Misha Shnurapet 2011-04-05 15:49:56 UTC
abrt version: 1.1.17
architecture: x86_64
cmdline: /usr/bin/python -u /usr/bin/abrt-debuginfo-install /var/spool/abrt/ccpp-1301594410-26264/coredump /var/run/abrt/tmp-26535-1301594487 /var/cache/abrt-di
component: abrt
executable: /usr/bin/abrt-debuginfo-install
kernel: 2.6.35.11-83.fc14.x86_64
package: abrt-1.1.17-1.fc14
reason: parser.py:195:_pushfile:ConfigError: Error accessing file for config file://///etc/yum.repos.d/remi.repo
release: Fedora release 14 (Laughlin)
time: 1302018530
uid: 0

backtrace
-----
parser.py:195:_pushfile:ConfigError: Error accessing file for config file://///etc/yum.repos.d/remi.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 823, in <lambda>
    repos = property(fget=lambda self: self._getRepos(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 548, in _getRepos
    self.getReposFromConfig()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 440, in getReposFromConfig
    self.getReposFromConfigFile(repofn, repo_age=thisrepo_age)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 363, in getReposFromConfigFile
    confpp_obj = ConfigPreProcessor(repofn, vars=self.conf.yumvar)
  File "/usr/lib/python2.7/site-packages/yum/parser.py", line 86, in __init__
    fo = self._pushfile( url )
  File "/usr/lib/python2.7/site-packages/yum/parser.py", line 195, in _pushfile
    'Error accessing file for config %s' % (absurl)
ConfigError: Error accessing file for config file://///etc/yum.repos.d/remi.repo

Local variables in innermost frame:
e: URLGrabError(14, 'Could not open/read file:///etc/yum.repos.d/remi.repo')
url: 'file://///etc/yum.repos.d/remi.repo'
includetuple: ('file://///etc/yum.repos.d/remi.repo', None)
self: <yum.parser.ConfigPreProcessor instance at 0x1edddd0>
absurl: 'file://///etc/yum.repos.d/remi.repo'
fo: None

How to reproduce
-----
1.
2.
3.
.

Comment 1 Misha Shnurapet 2011-04-05 15:50:00 UTC
Created attachment 490018 [details]
File: backtrace

Comment 2 Jiri Moskovcak 2011-04-08 10:19:18 UTC
can you please provide output of:

$ ls -l /etc/yum.repos.d/remi.repo

have you seen any selinux denials when this happened?

and you can try:

chmod a+r /etc/yum.repos.d/remi.repo

Comment 3 Misha Shnurapet 2011-04-08 12:10:29 UTC
$ cat /etc/yum.repos.d/remi.repo 
[remi]
name=Remi's LAMP backports, Firefox 4, MySQL 5.5 and others experimental RPM
#baseurl=http://rpms.famillecollet.com/fedora/$releasever/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/fedora/$releasever/remi/mirror
enabled=1
gpgcheck=1
gpgkey=http://rpms.famillecollet.com/RPM-GPG-KEY-remi
failovermethod=priority

[remi-test]
name=Remi's very experimental RPM (test)
#baseurl=http://rpms.famillecollet.com/fedora/$releasever/test/$basearch/
mirrorlist=http://rpms.famillecollet.com/fedora/$releasever/test/mirror
enabled=0
gpgcheck=1
gpgkey=http://rpms.famillecollet.com/RPM-GPG-KEY-remi
failovermethod=priority


No selinux alerts.


$ chmod a+r /etc/yum.repos.d/remi.repo
$

Comment 4 Misha Shnurapet 2011-04-08 12:11:16 UTC
$ ls -l /etc/yum.repos.d/remi.repo 
-rw-rw-r--. 1 shnurapet shnurapet 629 Мар 30 01:10 /etc/yum.repos.d/remi.repo

Comment 5 Jiri Moskovcak 2011-04-12 15:56:04 UTC
does it still throw an error after you ran chmod?

Comment 6 Jiri Moskovcak 2011-10-10 11:38:24 UTC
I believe it's fixed in the current abrt version.