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

Re: rawhide report: 20070725 changes



Jeremy Katz wrote:
On Wed, 2007-07-25 at 03:33 -0400, Build System wrote:
New package yum-updatesd
	Update notification daemon

FYI -- this is a new and reworked yum-updatesd that should hopefully
help with some of the complaints that I have been had.  The *big* change
is that it's bit split into two pieces:
* The actual daemon.  This is small, listens to dbus, and doesn't ever
touch the rpmdb, etc.  Which should keep its memory footprint low.
* Helper process that's forked off to do actual update checks
(+downloads +installs if so configured).  Helper isn't threaded, which
should avoid some of the problems that have been cropping up.

People prodding and testing at this would be much appreciated; I'm
hoping to be able to push this to F7-updates at some point as well.
Bugs to bugzilla as usual


Does this also fix the issue where issuing any yum command wil fail while it is checking for updates? That is the no 1 reason for not to use yum-updatesd.

If it doesn't fix this, maybe the following is an idea:
-modify yum to detect if its yum-updatesd which is locking the current yum
 "database"
-if it is yum-updatesd send it a signal to stop doing whats its doing, on which
 it will finish its current operation, and then release the db.
-print: "waiting for yum-updatesdb to release the database"
-poll the database lock 2 times a second or so
-continue

Regards,

Hans


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