Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0007606: yum-cron raises KeyboardInterrupt

$
0
0
This is happening regularly on 2 centos 7 machines where yum-cron was left with the default config. <br /> <br /> This may or may not be relevant: there is a 3rd centos 7 machine where /etc/yum/yum-cron.conf was modified as follows (sanitized):<br /> ------------------------------<br /> emit_via = email<br /> [email]<br /> email_from = yum_HOST@MYDOMAIN<br /> email_to = root@MYDOMAIN<br /> email_host = MX.MYDOMAIN<br /> -------------------------------<br /> <br /> Error e-mail (also sanitized):<br /> <br /> ...<br /> From: "(Cron Daemon)" <root@MYDOMAIN><br /> To: root@MYDOMAIN<br /> Subject: Cron <<a href="mailto:root@perch">root@perch</a>> run-parts /etc/cron.hourly<br /> Content-Type: text/plain; charset=UTF-8<br /> Auto-Submitted: auto-generated<br /> Precedence: bulk<br /> X-Cron-Env: <XDG_SESSION_ID=126><br /> X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/0><br /> X-Cron-Env: <LANG=en_US.UTF-8><br /> X-Cron-Env: <SHELL=/bin/bash><br /> X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin><br /> X-Cron-Env: <MAILTO=root><br /> X-Cron-Env: <HOME=/root><br /> X-Cron-Env: <LOGNAME=root><br /> X-Cron-Env: <USER=root><br /> Message-Id: <20140917150645.E7923204016C@perch.MYDOMAIN><br /> Date: Wed, 17 Sep 2014 10:06:45 -0500 (CDT)<br /> <br /> <br /> /etc/cron.hourly/0yum-hourly.cron:<br /> <br /> Traceback (most recent call last):<br /> File "/usr/sbin/yum-cron", line 711, in <module><br /> main()<br /> File "/usr/sbin/yum-cron", line 708, in main<br /> base.updatesCheck()<br /> File "/usr/sbin/yum-cron", line 600, in updatesCheck<br /> self.populateUpdateMetadata()<br /> File "/usr/sbin/yum-cron", line 409, in populateUpdateMetadata<br /> self.pkgSack # honor skip_if_unavailable<br /> File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1078, in <lambda><br /> pkgSack = property(fget=lambda self: self._getSacks(),<br /> File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 783, in _getSacks<br /> self.repos.populateSack(which=repos)<br /> File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344, in populateSack<br /> self.doSetup()<br /> File "/usr/lib/python2.7/site-packages/yum/repos.py", line 157, in doSetup<br /> self.retrieveAllMD()<br /> File "/usr/lib/python2.7/site-packages/yum/repos.py", line 88, in retrieveAllMD<br /> dl = repo._async and repo._commonLoadRepoXML(repo)<br /> File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1456, in _commonLoadRepoXML<br /> result = self._getFileRepoXML(local, text)<br /> File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1234, in _getFileRepoXML<br /> size=102400) # setting max size as 100K<br /> File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1022, in _getFile<br /> **kwargs<br /> File "/usr/lib/python2.7/site-packages/urlgrabber/mirror.py", line 448, in urlgrab<br /> return self._mirror_try(func, url, kw)<br /> File "/usr/lib/python2.7/site-packages/urlgrabber/mirror.py", line 425, in _mirror_try<br /> return func_ref( *(fullurl,), opts=opts, **kw )<br /> File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1172, in urlgrab<br /> return self._retry(opts, retryfunc, url, filename)<br /> File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1064, in _retry<br /> r = apply(func, (opts,) + args, {})<br /> File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1157, in retryfunc<br /> fo = PyCurlFileObject(url, filename, opts)<br /> File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1258, in __init__<br /> self._do_open()<br /> File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1589, in _do_open<br /> self._do_grab()<br /> File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1723, in _do_grab<br /> self._do_perform()<br /> File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1517, in _do_perform<br /> raise KeyboardInterrupt<br /> KeyboardInterrupt

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>