Re: futex hang with rpm in 2.6.17.1-2174_FC5

From: Dave Jones
Date: Sat Oct 21 2006 - 14:00:32 EST


On Sat, Oct 21, 2006 at 10:45:02AM -0700, Ben Greear wrote:
> Dave Jones wrote:
> > On Fri, Oct 20, 2006 at 11:38:58AM -0700, Ben Greear wrote:
> > > I had a dead nfs server that was causing some programs to pause,
> > > in particular 'yum install foo' was paused. I kill -9'd the
> > > yum related processes.
> > >
> > The dead rpm you killed left behind locks in its databases.
> > rm -f /var/lib/rpm/__db* and it should work again.
> >
> I'll give that a try, but shouldn't these locks clean themselves up when the
> process is killed

If you kill -9'd the processes, what do you expect to do
the clean up work ?

> or shouldn't rpm notice the previous process is dead and
> clean it up itself?

Sounds sensible to me and you, but in the past sensible ideas and
rpm maintainers haven't gone hand in hand.

Dave

--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/