[Yum-devel] [PATCH] yum-updatesd: Kill the yum-updatesd-helper when stopping yum-updatesd
Jeremy Katz
katzj at redhat.com
Wed Oct 31 13:50:33 UTC 2007
On Wed, 2007-10-31 at 13:29 +0100, Tim Lauridsen wrote:
> Luke Macken wrote:
> > On Mon, Oct 29, 2007 at 03:26:49PM -0400, Jeremy Katz wrote:
> > > So my concern with this is that if we're in the middle of installing
> > > updates, this is going to leave your system in a really bad place. :-/
> >
> > True. How did the monolithic daemon handle this ?
>
> Can't this be done by checking if /var/run/yum.pid exist and contains
> the pid of the yum-updatesd-helper
> if this is the case the don't kill, else just waste it.
When is it ever going to be running but not be the pid
in /var/run/yum.pid? I mean, there's a slight window I guess but it's
not that relevant
Jeremy
More information about the Yum-devel
mailing list