Re: yum-updatesd patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux