Bug 73415

Summary: rpm-4.1 hangs: concurrent access deadlock
Product: [Retired] Red Hat Linux Reporter: Joe Orton <jorton>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-03-12 16:26:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Orton 2002-09-04 12:25:55 UTC
Using Psyche-0903.2, rpm-4.1-1.05, I have an RPM hang during a package upgrade:

[root@host240 RPMS]# rpm -Uvh mod_auth_mysql-1.11-10.i386.rpm
mod_auth_pgsql-0.9.12-11.i386.rpm mysql-3.23.52-2.i386.rpm
perl-DBD-MySQL-2.1017-3.i386.rpm 
warning: mod_auth_mysql-1.11-10.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
   1:mod_auth_pgsql         ########################################### [ 25%]
<hung>

The process is stuck doing:

select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)

Comment 1 Joe Orton 2002-09-04 12:31:24 UTC
Oh, it looks like I had stupidly run rpmq as root during this update, so I guess
this is covered by the catch-all RPM hangs bug... sorry.

Comment 2 Jeff Johnson 2002-09-17 12:36:46 UTC
OK, this smells like a real concurrency deadlock,
so I'm gonna turn this into a category bug.

Comment 3 Boris Folgmann 2003-03-12 16:23:53 UTC
I have the same problem. It happens very often when installing or upgrading a
rpm.  Only kill -9 can remove the hanging rpm process. I don't have any
concurrent rpm queries. Could it be a problem with rhn?

Comment 4 Jeff Johnson 2003-03-12 16:26:16 UTC
Time to close this category bug as well.

Try rpm-4.1.1 packages from
    ftp://ftp.rpm.org/pub/rpm/test-4.1.1