Red Hat Bugzilla – Bug 197603
Last modified: 2014-01-21 17:54:54 EST
Description of problem:
If an older yum.conf is present which used to support "debuglevel", then
yum-2.9.2 is giving a traceback. Maybe that setting should be silently
ignored or with a warning that is doesn't have any effect.
Version-Release number of selected component (if applicable):
Add "debuglevel=2" to /etc/yum.conf.
Steps to Reproduce:
This actually seems to happen due to "yum -d 1" and not due to the config
settings. cli.py line 196 does not have a self.startupconf:
if opts.debuglevel is not None:
self.startupconf.debuglevel = opts.debuglevel
if opts.errorlevel is not None:
self.startupconf.errorlevel = opts.errorlevel
Created attachment 131928 [details]
Use self.conf instead of self.startupconf
Looks like things got out of sync with the logging patch and some changes to
the config parsing/loading. This patch should fix that up.
Committed upstream and in yum-2.9.2-3