Bug 1051774 - [abrt] createrepo: genpkgmetadata.py:294:main:OSError: [Errno 13] Permission denied: '/var/lib/yum/plugins/local/.repodata/filelists.xml.gz'
Summary: [abrt] createrepo: genpkgmetadata.py:294:main:OSError: [Errno 13] Permission ...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:ea091e70fa21ea6f99f3803f11d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-11 12:28 UTC by Rahul Chowdhury
Modified: 2014-01-14 11:44 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-14 11:44:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (793 bytes, text/plain)
2014-01-11 12:28 UTC, Rahul Chowdhury
no flags Details
File: environ (106 bytes, text/plain)
2014-01-11 12:28 UTC, Rahul Chowdhury
no flags Details

Description Rahul Chowdhury 2014-01-11 12:28:37 UTC
Version-Release number of selected component:
createrepo-0.10.1-0.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python -t /usr/share/createrepo/genpkgmetadata.py --quiet --database --update --unique-md-filenames /var/lib/yum/plugins/local
executable:     /usr/share/createrepo/genpkgmetadata.py
kernel:         3.12.6-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            173

Truncated backtrace:
genpkgmetadata.py:294:main:OSError: [Errno 13] Permission denied: '/var/lib/yum/plugins/local/.repodata/filelists.xml.gz'

Traceback (most recent call last):
  File "/usr/share/createrepo/genpkgmetadata.py", line 307, in <module>
    main(sys.argv[1:])
  File "/usr/share/createrepo/genpkgmetadata.py", line 294, in main
    os.unlink(os.path.join(tmp, name))
OSError: [Errno 13] Permission denied: '/var/lib/yum/plugins/local/.repodata/filelists.xml.gz'

Local variables in innermost frame:
tmp: '/var/lib/yum/plugins/local/.repodata'
name: 'filelists.xml.gz'
errormsg: MDError()
mid_st: 1389442827.713433
args: ['--quiet', '--database', '--update', '--unique-md-filenames', '/var/lib/yum/plugins/local']
start_st: 1389442827.708953
conf: <createrepo.MetaDataConfig object at 0x7f0425670750>

Comment 1 Rahul Chowdhury 2014-01-11 12:28:45 UTC
Created attachment 848594 [details]
File: backtrace

Comment 2 Rahul Chowdhury 2014-01-11 12:28:48 UTC
Created attachment 848595 [details]
File: environ

Comment 3 Zdeněk Pavlas 2014-01-13 13:34:22 UTC
/var/lib/yum/plugins/local is not user-writable, not a createrepo bug. Might be a bug in yum-plugin-local, which should not update the local repo unless packages were installed, implying we run as root.

How did you trigger this?

Comment 4 Rahul Chowdhury 2014-01-14 11:11:47 UTC
(In reply to Zdeněk Pavlas from comment #3)
> /var/lib/yum/plugins/local is not user-writable, not a createrepo bug. Might
> be a bug in yum-plugin-local, which should not update the local repo unless
> packages were installed, implying we run as root.
> 
> How did you trigger this?

Sadly I do not remember what had triggered the error. Due to some reason abrt showed some problem had occurred and I immediately reported it.
Sorry for not being much of a help.

Comment 5 Zdeněk Pavlas 2014-01-14 11:44:33 UTC
Thanks for the information.  It may be a bug in yum-plugin-local, but we'd need a reproducer.


Note You need to log in before you can comment on or make changes to this bug.