[Yum-devel] "bug" in yum-security

Zdenek Pavlas zpavlas at redhat.com
Mon Apr 16 08:41:49 UTC 2012

> Now check_yum invokes yum like the following:
> /usr/bin/yum --security check-update -C

> [Errno 13] Permission denied:
> '/var/cache/yum/x86_64/6.2/epel/gen/updateinfo.xml'

> open("/var/cache/yum/x86_64/6.2/epel/gen/updateinfo.xml",
> O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)

Seems that 'makecache' has already downloaded the .gz file and
'check-update' wants to decompress it in RDONLY directory.

We had a similar problem with comps.xml:

> Any ideas?

A quick check with (non-EPEL) yum reveals that after
'makecache' we have both:


Perhaps adding check_timestamps=True to some decompress()
will fix this as well.. needs investigating.

More information about the Yum-devel mailing list