Bug 1044080

Summary: [abrt] yum-3.4.3-122.fc20: yumRepo.py:706:_dirSetupMkdir_p:RepoError: Error making cache directory: /var/cache/yum/x86_64/20/rpmfusion-free error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/20/rpmfusion-free'
Product: [Fedora] Fedora Reporter: Jesús Guerreiro <j.dasua>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: admiller, ffesti, firas.alkafri, ignatenko, packaging-team-maint, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/b26ab7542e4f406f91f38b1be9ee85b8e8a0b1df
Whiteboard: abrt_hash:c44dec3af395ccd24eb1ae14e880101704f07611
Fixed In Version: yum-3.4.3-132.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-23 11:09:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Jesús Guerreiro 2013-12-17 18:43:08 UTC
Version-Release number of selected component:
yum-3.4.3-122.fc20

Additional info:
reporter:       libreport-2.1.9
cmdline:        /usr/bin/python -t /usr/share/yum-cli/completion-helper.py -d 0 -C list available rpmfusion-no
executable:     /usr/share/yum-cli/completion-helper.py
kernel:         3.11.10-301.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
yumRepo.py:706:_dirSetupMkdir_p:RepoError: Error making cache directory: /var/cache/yum/x86_64/20/rpmfusion-free error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/20/rpmfusion-free'

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 83, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 351, in getOptionsConfig
    self.parseCommands() # before we return check over the base command + args
  File "/usr/share/yum-cli/cli.py", line 393, in parseCommands
    self._set_repos_cache_req()
  File "/usr/share/yum-cli/cli.py", line 415, in _set_repos_cache_req
    if not os.path.exists(repo.metadata_cookie):
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 778, in <lambda>
    metadata_cookie = property(lambda self: self._dirGetAttr('metadata_cookie'))
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 750, in _dirGetAttr
    self.dirSetup()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 729, in dirSetup
    self._dirSetupMkdir_p(dir)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 706, in _dirSetupMkdir_p
    raise Errors.RepoError, msg
RepoError: Error making cache directory: /var/cache/yum/x86_64/20/rpmfusion-free error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/20/rpmfusion-free'

Local variables in innermost frame:
msg: "Error making cache directory: /var/cache/yum/x86_64/20/rpmfusion-free error was: [Errno 13] Permission denied: '/var/cache/yum/x86_64/20/rpmfusion-free'"
dpath: '/var/cache/yum/x86_64/20/rpmfusion-free'
self: <yum.yumRepo.YumRepository object at 0x1769710>
e: OSError(13, 'Permission denied')

Comment 1 Jesús Guerreiro 2013-12-17 18:43:14 UTC
Created attachment 837867 [details]
File: backtrace

Comment 2 Jesús Guerreiro 2013-12-17 18:43:17 UTC
Created attachment 837868 [details]
File: environ

Comment 3 Igor Gnatenko 2014-01-20 12:38:23 UTC
The same bug. Can easy reproduce.
Add new repo
Try use yum w/ bash-completion

Comment 4 Zdeněk Pavlas 2014-01-20 12:53:14 UTC
Basically a dupe of BZ 1039028 but the not-yet-cached repository is enabled. Will fix this upstream.. In the meantime, run "sudo yum makecache" to resolve this.

Comment 6 Igor Gnatenko 2014-01-20 13:28:13 UTC
(In reply to Zdeněk Pavlas from comment #5)
> http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=6fc17c8
Thank you! ;)

Comment 7 Fedora Update System 2014-01-22 10:54:32 UTC
yum-3.4.3-132.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/yum-3.4.3-132.fc20

Comment 8 Fedora Update System 2014-01-22 11:08:50 UTC
yum-3.4.3-132.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-3.4.3-132.fc19

Comment 9 Fedora Update System 2014-01-23 11:09:39 UTC
yum-3.4.3-132.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2014-02-06 03:52:55 UTC
yum-3.4.3-132.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.