View Issue Details

IDProjectCategoryView StatusLast Update
0016936CentOS-7yumpublic2020-01-16 18:13
Reportertkalangeosb 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016936: [abrt] yum-cron: ConfigParser.py:546:_read:ParsingError: File contains parsing errors: /etc/yum/yum-cron-hourly.conf
DescriptionVersion-Release number of selected component:
yum-cron-3.4.3-163.el7.centos

Truncated backtrace:
ConfigParser.py:546:_read:ParsingError: File contains parsing errors: /etc/yum/yum-cron-hourly.conf
    [line 4]: ' security = yum --security upgrade\n'

Traceback (most recent call last):
  File "/usr/sbin/yum-cron", line 729, in <module>
    main()
  File "/usr/sbin/yum-cron", line 721, in main
    base = YumCronBase(sys.argv[1])
  File "/usr/sbin/yum-cron", line 307, in __init__
    self.readConfigFile(config_file_name)
  File "/usr/sbin/yum-cron", line 340, in readConfigFile
    if config_file_name not in confparser.read(config_file_name):
  File "/usr/lib64/python2.7/ConfigParser.py", line 305, in read
    self._read(fp, filename)
  File "/usr/lib64/python2.7/ConfigParser.py", line 546, in _read
    raise e
ParsingError: File contains parsing errors: /etc/yum/yum-cron-hourly.conf
    [line 4]: ' security = yum --security upgrade\n'

Local variables in innermost frame:
sectname: 'base'
cursect: OrderedDict([('__name__', 'base'), ('debuglevel', ['-2']), ('mdpolicy', ['group:main'])])
e: File contains parsing errors: /etc/yum/yum-cron-hourly.conf
    [line 4]: ' security = yum --security upgrade\n'
fpname: '/etc/yum/yum-cron-hourly.conf'
vi: '='
mo: <_sre.SRE_Match object at 0x7faec60dfc10>
optname: 'mdpolicy'
fp: <open file '/etc/yum/yum-cron-hourly.conf', mode 'r' at 0x7faec60c1e40>
lineno: 80
line: ''
self: <ConfigParser.ConfigParser instance at 0x7faec609f8c0>
optval: 'group:main'
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python -tt /usr/sbin/yum-cron /etc/yum/yum-cron-hourly.conf
dso_list: python-libs-2.7.5-86.el7.x86_64
executable: /usr/sbin/yum-cron
kernel: 3.10.0-1062.9.1.el7.x86_64
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: The problem occurs regularly
runlevel: N 5
type: Python
uid: 0
TagsNo tags attached.
abrt_hash2c332575caf4db48612ff524a880e3b4183f84c0
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/8ca490ecf6eee1299802b368ab0c529b573a9258

Activities

tkalangeosb

tkalangeosb

2020-01-16 18:13

reporter  

backtrace (1,482 bytes)
ConfigParser.py:546:_read:ParsingError: File contains parsing errors: /etc/yum/yum-cron-hourly.conf
	[line  4]: ' security                           = yum --security upgrade\n'

Traceback (most recent call last):
  File "/usr/sbin/yum-cron", line 729, in <module>
    main()
  File "/usr/sbin/yum-cron", line 721, in main
    base = YumCronBase(sys.argv[1])
  File "/usr/sbin/yum-cron", line 307, in __init__
    self.readConfigFile(config_file_name)
  File "/usr/sbin/yum-cron", line 340, in readConfigFile
    if config_file_name not in confparser.read(config_file_name):
  File "/usr/lib64/python2.7/ConfigParser.py", line 305, in read
    self._read(fp, filename)
  File "/usr/lib64/python2.7/ConfigParser.py", line 546, in _read
    raise e
ParsingError: File contains parsing errors: /etc/yum/yum-cron-hourly.conf
	[line  4]: ' security                           = yum --security upgrade\n'

Local variables in innermost frame:
sectname: 'base'
cursect: OrderedDict([('__name__', 'base'), ('debuglevel', ['-2']), ('mdpolicy', ['group:main'])])
e: File contains parsing errors: /etc/yum/yum-cron-hourly.conf
	[line  4]: ' security                           = yum --security upgrade\n'
fpname: '/etc/yum/yum-cron-hourly.conf'
vi: '='
mo: <_sre.SRE_Match object at 0x7faec60dfc10>
optname: 'mdpolicy'
fp: <open file '/etc/yum/yum-cron-hourly.conf', mode 'r' at 0x7faec60c1e40>
lineno: 80
line: ''
self: <ConfigParser.ConfigParser instance at 0x7faec609f8c0>
optval: 'group:main'
backtrace (1,482 bytes)
environ (216 bytes)
MAILTO=root
LANG=en_US.UTF-8
SHELL=/bin/bash
XDG_RUNTIME_DIR=/run/user/0
SHLVL=2
PWD=/root
LOGNAME=root
USER=root
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin
XDG_SESSION_ID=1008
_=/etc/cron.hourly/0yum-hourly.cron
environ (216 bytes)
machineid (135 bytes)
systemd=31e6953929b248c1be33c32a2f91ad83
sosreport_uploader-dmidecode=9cfaa549638125d990ecd70d9d9c1145747b962fdb740ff52fc5453cee9d2824
machineid (135 bytes)

Issue History

Date Modified Username Field Change
2020-01-16 18:13 tkalangeosb New Issue
2020-01-16 18:13 tkalangeosb File Added: backtrace
2020-01-16 18:13 tkalangeosb File Added: environ
2020-01-16 18:13 tkalangeosb File Added: machineid