Bug 50992

Summary: rpm -qf hangs on some programs
Product: [Retired] Red Hat Linux Reporter: Kjartan Maraas <kmaraas>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
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: 2001-08-06 10:51:43 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 Kjartan Maraas 2001-08-06 10:51:36 UTC
Description of Problem:

When doing rpm -qf /usr/bin/* I found that rpm hangs on some programs. For
example "rpm -qf tic" makes it hang. strace says it's getting timeout from
select().
How Reproducible:

Every time

Steps to Reproduce:
1. rpm -qf /usr/bin/tic
2. 
3. 

Actual Results:

Hang

Expected Results:

package containing /usr/bin/tic

Additional Information:
None

Comment 1 Kjartan Maraas 2001-08-06 11:04:17 UTC
And of course, if I had done my homework I would have known that this was fixed
by removing /var/lib/rpm/__db*

Fixed it for me.


Comment 2 Jeff Johnson 2001-08-06 11:16:26 UTC
FWIW, this should be fixed for everyone now, in rpm-4.0.3-0.87
and later. Homework is a PITA :-)