View Issue Details

IDProjectCategoryView StatusLast Update
0014186CentOS-7yumpublic2017-11-25 08:09
ReporterMudit Singal 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0014186: [abrt] yum: yumRepo.py:2010:_getMirrorList:IOError: [Errno 13] Permission denied: '/var/cache/yum/x86_64/7/base/mirrorlist.txt'
DescriptionDescription of problem:
Problem occured after installing centos-release-xen.x86_64 and updating system

Version-Release number of selected component:
yum-3.4.3-154.el7.centos

Truncated backtrace:
yumRepo.py:2010:_getMirrorList:IOError: [Errno 13] Permission denied: '/var/cache/yum/x86_64/7/base/mirrorlist.txt'

Traceback (most recent call last):
  File "/usr/share/yum-cli/completion-helper.py", line 95, in <module>
    main(sys.argv[1:])
  File "/usr/share/yum-cli/completion-helper.py", line 88, in main
    base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 583, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/completion-helper.py", line 52, in doCommand
    patterns=[get_pattern(extcmds)])
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3046, in doPackageLists
    avail = self.pkgSack.returnNewestByNameArch(patterns=patterns,
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1074, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 778, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 347, in populateSack
    self.doSetup()
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 122, in doSetup
    self.ayum.plugins.run('prereposetup')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/axelget.py", line 348, in prereposetup_hook
    mirrors = repo.urls
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 878, in <lambda>
    urls = property(fget=lambda self: self._geturls(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 875, in _geturls
    self._baseurlSetup()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 824, in _baseurlSetup
    mirrorurls.extend(self._getMirrorList())
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 2010, in _getMirrorList
    output = open(self.mirrorlist_file, 'w')
IOError: [Errno 13] Permission denied: '/var/cache/yum/x86_64/7/base/mirrorlist.txt'

Local variables in innermost frame:
cacheok: False
ugopts: {'username': None, 'ssl_ca_cert': None, 'retry': 10, 'throttle': 0, 'ssl_verify_peer': True, 'http_headers': (), 'ssl_verify_host': True, 'ssl_key': None, 'minrate': 0, 'proxies': None, 'bandwidth': 0, 'ssl_cert': None, 'user_agent': 'urlgrabber/3.10 yum/3.4.3', 'timeout': 30.0, 'ip_resolve': None, 'password': None, 'ftp_disable_epsv': False, 'keepalive': True}
url: 'http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock'
self: <yum.yumRepo.YumRepository object at 0x1aa1c10>
content: ['http://centos.mirror.snu.edu.in/centos/7.4.1708/os/x86_64/\n', 'http://ftp.iitm.ac.in/centos/7.4.1708/os/x86_64/\n', 'http://mirror.nbrc.ac.in/centos/7.4.1708/os/x86_64/\n', 'http://centos.excellmedia.net/7.4.1708/os/x86_64/\n', 'http://mirror.vbctv.in/centos/7.4.1708/os/x86_64/\n', 'http://centos.mirror.net.in/centos/7.4.1708/os/x86_64/\n', 'http://mirror.dhakacom.com/centos/7.4.1708/os/x86_64/\n', 'http://centos.myfahim.com/centos/7.4.1708/os/x86_64/\n', 'http://mirrors.vinahost.vn/centos/7.4.1708/os/x86_64/\n', 'http://mirrors.viethosting.com/centos/7.4.1708/os/x86_64/\n']
scheme: 'http'
returnlist: ['http://centos.mirror.snu.edu.in/centos/7.4.1708/os/x86_64/', 'http://ftp.iitm.ac.in/centos/7.4.1708/os/x86_64/', 'http://mirror.nbrc.ac.in/centos/7.4.1708/os/x86_64/', 'http://centos.excellmedia.net/7.4.1708/os/x86_64/', 'http://mirror.vbctv.in/centos/7.4.1708/os/x86_64/', 'http://centos.mirror.net.in/centos/7.4.1708/os/x86_64/', 'http://mirror.dhakacom.com/centos/7.4.1708/os/x86_64/', 'http://centos.myfahim.com/centos/7.4.1708/os/x86_64/', 'http://mirrors.vinahost.vn/centos/7.4.1708/os/x86_64/', 'http://mirrors.viethosting.com/centos/7.4.1708/os/x86_64/']
fo: <urlgrabber.grabber.PyCurlFileObject object at 0x1c05f10>
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python -t /usr/share/yum-cli/completion-helper.py -d 0 -C list available mon
dso_list: yum-axelget-1.0.5.1-1.20140522gitad6fb3e.el7.noarch
executable: /usr/share/yum-cli/completion-helper.py
kernel: 3.10.0-693.5.2.el7.x86_64
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 1000
TagsNo tags attached.
abrt_hash354fdb5d897332cab9c8e763601a7e600a073e51
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/29d557862c7d2193a7efe6529607f21417e16f35

Activities

Mudit Singal

Mudit Singal

2017-11-25 08:09

reporter  

backtrace (3,852 bytes)
yumRepo.py:2010:_getMirrorList:IOError: [Errno 13] Permission denied: '/var/cache/yum/x86_64/7/base/mirrorlist.txt'

Traceback (most recent call last):
  File "/usr/share/yum-cli/completion-helper.py", line 95, in <module>
    main(sys.argv[1:])
  File "/usr/share/yum-cli/completion-helper.py", line 88, in main
    base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 583, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/completion-helper.py", line 52, in doCommand
    patterns=[get_pattern(extcmds)])
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3046, in doPackageLists
    avail = self.pkgSack.returnNewestByNameArch(patterns=patterns,
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1074, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 778, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 347, in populateSack
    self.doSetup()
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 122, in doSetup
    self.ayum.plugins.run('prereposetup')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/axelget.py", line 348, in prereposetup_hook
    mirrors = repo.urls
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 878, in <lambda>
    urls = property(fget=lambda self: self._geturls(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 875, in _geturls
    self._baseurlSetup()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 824, in _baseurlSetup
    mirrorurls.extend(self._getMirrorList())
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 2010, in _getMirrorList
    output = open(self.mirrorlist_file, 'w')
IOError: [Errno 13] Permission denied: '/var/cache/yum/x86_64/7/base/mirrorlist.txt'

Local variables in innermost frame:
cacheok: False
ugopts: {'username': None, 'ssl_ca_cert': None, 'retry': 10, 'throttle': 0, 'ssl_verify_peer': True, 'http_headers': (), 'ssl_verify_host': True, 'ssl_key': None, 'minrate': 0, 'proxies': None, 'bandwidth': 0, 'ssl_cert': None, 'user_agent': 'urlgrabber/3.10 yum/3.4.3', 'timeout': 30.0, 'ip_resolve': None, 'password': None, 'ftp_disable_epsv': False, 'keepalive': True}
url: 'http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock'
self: <yum.yumRepo.YumRepository object at 0x1aa1c10>
content: ['http://centos.mirror.snu.edu.in/centos/7.4.1708/os/x86_64/\n', 'http://ftp.iitm.ac.in/centos/7.4.1708/os/x86_64/\n', 'http://mirror.nbrc.ac.in/centos/7.4.1708/os/x86_64/\n', 'http://centos.excellmedia.net/7.4.1708/os/x86_64/\n', 'http://mirror.vbctv.in/centos/7.4.1708/os/x86_64/\n', 'http://centos.mirror.net.in/centos/7.4.1708/os/x86_64/\n', 'http://mirror.dhakacom.com/centos/7.4.1708/os/x86_64/\n', 'http://centos.myfahim.com/centos/7.4.1708/os/x86_64/\n', 'http://mirrors.vinahost.vn/centos/7.4.1708/os/x86_64/\n', 'http://mirrors.viethosting.com/centos/7.4.1708/os/x86_64/\n']
scheme: 'http'
returnlist: ['http://centos.mirror.snu.edu.in/centos/7.4.1708/os/x86_64/', 'http://ftp.iitm.ac.in/centos/7.4.1708/os/x86_64/', 'http://mirror.nbrc.ac.in/centos/7.4.1708/os/x86_64/', 'http://centos.excellmedia.net/7.4.1708/os/x86_64/', 'http://mirror.vbctv.in/centos/7.4.1708/os/x86_64/', 'http://centos.mirror.net.in/centos/7.4.1708/os/x86_64/', 'http://mirror.dhakacom.com/centos/7.4.1708/os/x86_64/', 'http://centos.myfahim.com/centos/7.4.1708/os/x86_64/', 'http://mirrors.vinahost.vn/centos/7.4.1708/os/x86_64/', 'http://mirrors.viethosting.com/centos/7.4.1708/os/x86_64/']
fo: <urlgrabber.grabber.PyCurlFileObject object at 0x1c05f10>
backtrace (3,852 bytes)
environ (4,475 bytes)
LOADEDMODULES=
FLUME_HOME=/home/MEE/apache-flume-1.6.0-cdh5.10.0-bin
NO_PROXY=localhost,127.0.0.0/8,::1
PIG_CLASSPATH=/home/MEE/hadoop-2.6.0-cdh5.10.0/etc/hadoop
http_proxy=http://172.0.1.214:80/
PIG_HOME=/home/MEE/pig-0.12.0-cdh5.10.0
LESSOPEN=||/usr/bin/lesspipe.sh %s
XDG_SESSION_TYPE=x11
QT_IM_MODULE=xim
LOGNAME=MEE
USER=MEE
SQOOP_HOME=/home/MEE/sqoop-1.4.6-cdh5.10.0
PATH=/home/MEE/pig-0.12.0-cdh5.10.0/bin:/home/MEE/hive-1.1.0-cdh5.10.0/bin:/home/MEE/apache-flume-1.6.0-cdh5.10.0-bin/bin:/home/MEE/hbase-1.2.0-cdh5.10.0/bin:/home/MEE/sqoop-1.4.6-cdh5.10.0/bin:/home/MEE/hadoop-2.6.0-cdh5.10.0/bin:/home/MEE/hadoop-2.6.0-cdh5.10.0/sbin:/home/MEE/pig-0.12.0-cdh5.10.0/bin:/home/MEE/hive-1.1.0-cdh5.10.0/bin:/home/MEE/apache-flume-1.6.0-cdh5.10.0-bin/bin:/home/MEE/hbase-1.2.0-cdh5.10.0/bin:/home/MEE/sqoop-1.4.6-cdh5.10.0/bin:/home/MEE/hadoop-2.6.0-cdh5.10.0/bin:/home/MEE/hadoop-2.6.0-cdh5.10.0/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/MEE/.local/bin:/home/MEE/bin:/sbin:/usr/sbin:/usr/local/sbin
XDG_VTNR=1
QTDIR=/usr/lib64/qt-3.3
WINDOWPATH=1
XDG_SESSION_DESKTOP=gnome
LANG=en_IN.UTF-8
QTLIB=/usr/lib64/qt-3.3/lib
TERM=xterm-256color
SHELL=/bin/bash
XAUTHORITY=/run/gdm/auth-for-MEE-1Pkmb1/database
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1870,unix/unix:/tmp/.ICE-unix/1870
QTINC=/usr/lib64/qt-3.3/include
QT_QPA_PLATFORMTHEME=qgnomeplatform
HISTSIZE=1000
https_proxy=http://172.0.1.214:80/
WINDOWID=31457286
IMSETTINGS_INTEGRATE_DESKTOP=yes
HIVE_HOME=/home/MEE/hive-1.1.0-cdh5.10.0
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-0.b01.el7_4.x86_64
HOME=/home/MEE
MODULESHOME=/usr/share/Modules
no_proxy=localhost,127.0.0.0/8,::1
USERNAME=MEE
IMSETTINGS_MODULE=none
SHLVL=2
XDG_RUNTIME_DIR=/run/user/1000
HBASE_HOME=/home/MEE/hbase-1.2.0-cdh5.10.0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
VTE_VERSION=4602
GDMSESSION=gnome
XMODIFIERS=@im=none
HADOOP_USER_CLASSPATH_FIRST=true
MAIL=/var/spool/mail/MEE
QT_GRAPHICSSYSTEM_CHECKED=1
XDG_CURRENT_DESKTOP=GNOME
XDG_SESSION_ID=1
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-NomMoMCqxD,guid=a3219579da3712578568ea065a03d367
_=/usr/share/yum-cli/completion-helper.py
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles
DESKTOP_SESSION=gnome
DISPLAY=:0
HOSTNAME=msingal.centos7
GDM_LANG=en_IN.UTF-8
HISTCONTROL=ignoredups
HTTPS_PROXY=http://172.0.1.214:80/
PWD=/home/MEE
COLORTERM=truecolor
HTTP_PROXY=http://172.0.1.214:80/
XDG_MENU_PREFIX=gnome-
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:
HADOOP_HOME=/home/MEE/hadoop-2.6.0-cdh5.10.0
XDG_DATA_DIRS=/home/MEE/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
BASH_FUNC_module()=() {  eval `/usr/bin/modulecmd bash $*`
}
XDG_SEAT=seat0
environ (4,475 bytes)
Mudit Singal

Mudit Singal

2017-11-25 08:09

reporter  

machineid (135 bytes)
systemd=dda0ce247b1344ffb715c3d8d213d36f
sosreport_uploader-dmidecode=c1752871d81ef761c69c78fdda78f1773f94264078864eb3cab0b9ce9793cdc8
machineid (135 bytes)

Issue History

Date Modified Username Field Change
2017-11-25 08:09 Mudit Singal New Issue
2017-11-25 08:09 Mudit Singal File Added: backtrace
2017-11-25 08:09 Mudit Singal File Added: environ
2017-11-25 08:09 Mudit Singal File Added: machineid