[Yum] yum-updatesd patch

Nickolai Zeldovich nickolai at cs.stanford.edu
Thu Jan 18 18:58:52 UTC 2007


I have been running into lots of problems with yum-updatesd ever since
installing Fedora Core 6, and this is apparently a fairly common
issue:

    https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=212507

After running "yum-updatesd -f" (v3.0.3), I found a number of places
where exceptions were thrown and yum locks not released (see attached
log files).  I don't understand the details of yum enough to figure
out why it's throwing these exceptions all over the place (the "Index
out of range" sounds like something else is definitely wrong), but the
attached patch at least catches and tries to log or handle them.

Empirically, yum-updatesd now no longer seems to hold the yum lock forever.

Nickolai.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yumupd.log
Type: application/octet-stream
Size: 10209 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20070118/49c710ce/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yumupd.log2
Type: application/octet-stream
Size: 3163 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20070118/49c710ce/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yumupd.patch
Type: application/octet-stream
Size: 5003 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20070118/49c710ce/attachment-0005.obj 


More information about the Yum mailing list