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 826446 - AttributeError: 'YumConf' object has no attribute 'conf'
Summary: AttributeError: 'YumConf' object has no attribute 'conf'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum-utils
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: rc
: ---
Assignee: Valentina Mukhamedzhanova
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-30 08:29 UTC by Jakub Dorňák
Modified: 2016-12-01 00:58 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-12 15:02:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jakub Dorňák 2012-05-30 08:29:23 UTC
Description of problem:
# yum-config-manager --save
Produces traceback because of unhandled exception.

Version-Release number of selected component (if applicable):
yum-utils-1.1.30-10.el6.noarch

How reproducible:


Steps to Reproduce:
1. install compose
2. run # yum-config-manager --save
  
Actual results:
Traceback in stderr:

Traceback (most recent call last):
  File "/usr/bin/yum-config-manager", line 154, in <module>
    writeRawConfigFile(fn, 'main', ybc.conf.yumvar,
AttributeError: 'YumConf' object has no attribute 'conf'

Expected results:
empty  stderr

Comment 3 RHEL Program Management 2012-07-10 08:35:10 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 RHEL Program Management 2012-07-11 02:12:25 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 5 RHEL Program Management 2012-09-07 05:36:06 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 6 James Antill 2013-04-12 18:59:23 UTC
:( ... shows how much this feature is used, I guess...

commit 2aac1b1c8b3f5ada029d6772ee6f9bb7c63be172
Author: Seth Vidal <skvidal>
Date:   Mon Jul 25 11:17:30 2011 -0400

    typo leaving .conf in ybc.conf.yumvar should just be ybc.yumvar

Comment 9 RHEL Program Management 2013-10-14 00:38:29 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 10 Karel Srot 2015-10-12 15:02:17 UTC
Already fixed.

$ rpm -q yum
yum-3.2.29-69.el6.noarch

$ grep writeRawConfigFile /usr/bin/yum-config-manager
def writeRawConfigFile(filename, section_id, yumvar,
        writeRawConfigFile(fn, 'main', ybc.yumvar,
            writeRawConfigFile(repo.repofile, repo.id, repo.yumvar,


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