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 1097570 - repoquery tracebacks when fails to open the config file
Summary: repoquery tracebacks when fails to open the config file
Keywords:
Status: CLOSED DUPLICATE of bug 1097560
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum-utils
Version: 6.5
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Packaging Maintenance Team
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-14 06:06 UTC by Karel Srot
Modified: 2014-05-14 08:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-14 08:24:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Karel Srot 2014-05-14 06:06:41 UTC
Description of problem:

$ repoquery -c /tmp/nosuchfile --installed -a
Traceback (most recent call last):
  File "/usr/bin/repoquery", line 1242, in <module>
    main(sys.argv)
  File "/usr/bin/repoquery", line 1150, in main
    repoq.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 908, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 299, in _getConfig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 871, in readStartupConfig
    confpp_obj = ConfigPreProcessor(configfile)
  File "/usr/lib/python2.6/site-packages/yum/parser.py", line 87, in __init__
    fo = self._pushfile( url )
  File "/usr/lib/python2.6/site-packages/yum/parser.py", line 196, in _pushfile
    'Error accessing file for config %s' % (absurl)
yum.Errors.ConfigError: Error accessing file for config file:///tmp/nosuchfile


on RHEL7:
Error accessing file for config file:///tmp/nosuchfile

Version-Release number of selected component (if applicable):
yum-utils-1.1.30-17.el6_5

How reproducible:
always

Comment 1 Valentina Mukhamedzhanova 2014-05-14 08:24:42 UTC
The patch proposed for bug 1097560 fixes this traceback for me.

*** This bug has been marked as a duplicate of bug 1097560 ***


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