[Yum-devel] [PATCH] yum-updatesd: Kill the yum-updatesd-helper when stopping yum-updatesd
Jeremy Katz
katzj at redhat.com
Wed Oct 31 14:20:21 UTC 2007
On Wed, 2007-10-31 at 09:52 -0400, seth vidal wrote:
> On Wed, 2007-10-31 at 09:50 -0400, Jeremy Katz wrote:
> > 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
> >
>
> I didn't think it grabbed the lock for its ENTIRE run, I thought it just
> had it when it was doing something.
The helper isn't ever running unless it's doing something...
Jeremy
More information about the Yum-devel
mailing list