lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 21 Oct 2006 11:08:44 -0700
From:	Ben Greear <greearb@...delatech.com>
To:	Dave Jones <davej@...hat.com>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: futex hang with rpm in 2.6.17.1-2174_FC5

Dave Jones wrote:
> 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 ?
>   

Well, you can do tricks with file handles so that they are automatically 
closed/deleted when
a process exits, even with kill -9.  Since this lock is evidently 
something in the kernel (since the kernel
call is blocking), then it seems like a similar trick could be crafted.

>  > 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.
>   
Ahhh :)

Thanks,
Ben


-- 
Ben Greear <greearb@...delatech.com> 
Candela Technologies Inc  http://www.candelatech.com


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ