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

Christoph Anton Mitterer calestyo at scientia.net
Mon Apr 23 21:45:08 UTC 2012


Hi.

On Mon, 2012-04-23 at 04:01 -0400, Zdenek Pavlas wrote:
> Yes, please open a bug.  Guessing from the repo paths is's RHEL6.2
https://bugzilla.redhat.com/show_bug.cgi?id=815568
CCed you.


> We know what's happening, 'yum makecache' does not uncompress
> the downloaded updateinfo.xml.gz, and '$ yum -C' can't do that later.
Ok... does it then do some timestamp checking, which make it work, when
you ran it immediately before as root?


> I've posted a simple fix, but it has issues.
> http://lists.baseurl.org/pipermail/yum-devel/2012-April/009216.html
Ah I see,.. what are the issues?


> Also, this problem (and some other as well) were kinda fixed by
> http://yum.baseurl.org/gitweb?p=yum.git;a=commit;h=0f034091e4388
> but that makes the '# yum makecache' part useless.
Uhm... is this done when -C is in place?

Cause that would be a really bad idea, IMHO. I don't like idea that this
is done per user, especially (but not only) as probably no one cleans
the cache up.

Also as outline before, it takes quite a while, and doing this per cron
as root fits quite well, so the global data should be used.


Cheers,
Chris.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5677 bytes
Desc: not available
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20120423/a833e041/attachment.bin>


More information about the Yum-devel mailing list