Bug 431635

Summary: yum update hangs on iwl4965-firmware.noarch 0:4.44.1.18-2
Product: [Fedora] Fedora Reporter: Ed Hill <ed>
Component: iwl4965-firmwareAssignee: Nicolas Chauvet (kwizart) <kwizart>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-06 15:15:36 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 Ed Hill 2008-02-06 03:59:08 UTC
Description of problem:
"yum update" tries to install iwl4965-firmware.noarch 0:4.44.1.18-2 and hangs

Version-Release number of selected component (if applicable):
Fedora 8 x86_64

How reproducible:
100%

Steps to Reproduce:
1. "yum update"
or
1. "rpm -e iwl4965-firmware"
  
Additional info:
Please ask and I'll supply...

Comment 1 Nicolas Chauvet (kwizart) 2008-02-06 14:31:03 UTC
Seems to everything is working fine with me but it should install 0:4.44.1.20-1
since yesterday.

do you experience this problem again ? Seem it was related to a mirror not
synchronized yet.

Comment 2 Ed Hill 2008-02-06 14:54:34 UTC
Thank you for taking a look.  I don't know whats going wrong on my system 
but it may be rpm DB corruption.  For me, "yum update" consistently hangs 
at this point:

  Downloading Packages:
  (1/1): iwl4965-firmware-4 100% |=========================| 160 kB    00:00     
  Running rpm_check_debug
  Running Transaction Test

and can only be killed with "killall -9 yum".  Similarly, running "rpm -e 
iwl4965-firmware" hangs and can only be killed with a "kill -9 ..." 
(<ctrl>-c does no good).

I've also tried removing all of the /var/lib/rpm/__db.00* files and running
"rpm --rebuilddb" but after that any attempt to update or remove the 
iwl4965-firmware package results in an indefinite hang.

I'm at a loss so I've added "exclude=iwl4965-firmware" to /etc/yum.conf and
and going to ignore the problem -- unless someone has idea what the real 
problems is...?

Comment 3 Ed Hill 2008-02-06 15:15:36 UTC
Aha!  I found the problem and it has *nothing* to do with iwl4965-firmware.
It turns out that I had a "hung" NFS mount and running "strace rpm ..."
showed it consistently hanging on that mount:

  stat("/net/192.168.1.101/share",  <unfinished ...>

I don't know why rpm needs to look into all mounted filesystems but in any
case I'm happy to know what was going wrong here.  :-)