[Yum] yum-updatesd patch

seth vidal skvidal at linux.duke.edu
Mon Jan 22 04:22:12 UTC 2007


On Thu, 2007-01-18 at 10:58 -0800, Nickolai Zeldovich wrote:
> 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,
 Thanks for the patch. The only thing I worry about is the more-or-less
global exception catch in your try, except clauses. Is it possible to
narrow the set of possible exceptions down there so we don't end up
catching the world?

-sv





More information about the Yum mailing list