Bug 208726

Summary: filedescriptor leak during upgrade install
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: anacondaAssignee: Joel Andres Granados <jgranado>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
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: 2007-10-22 17:37:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
File descriptor map on anacondas activity during installation.
none
Same as first attachment but in plain text. <tab> is the delimitor.
none
Strace from the installation, its a different install.
none
Some unclosed fds
none
list same list against the current cvs. none

Description John Reiser 2006-09-30 22:48:04 UTC
Description of problem: Attaching an strace to anaconda after Package Install
completes, while the rpm database is being updated, shows system calls being
performed on filedescriptors with numbers such as 23, 32, and 45.  These numbers
are too large (they should be at most 10 to 15), and indicate that some fds have
been leaked (opened, never closed, and probably unused for a long time) along
the way.


Version-Release number of selected component (if applicable):
anaconda-11.1.0.102-1

How reproducible:


Steps to Reproduce:
1. Upgrade from FC5 to FC6Pre using rescue disk and HTTP + DHCP; wait for
Package Install to finish.
2. Use VT2 to "strace -p <PID of anaconda>" while installer updates rpm database.
3.
  
Actual results:
system calls with fds of 23, 32, 45.

Expected results:
No fd larger than 10 to 15.

Additional info:
PowerPC Apple Macintosh Mini.  Partitons on hda were 1 through 6 (root on hda4,
swap on hda5; others were Apple or unused); no other harddrives; only CD was
FC6Pre rescue CD.

Comment 1 Red Hat Bugzilla 2007-06-12 03:18:48 UTC
requested by Jams Antill

Comment 2 Joel Andres Granados 2007-10-19 13:35:55 UTC
Created attachment 232571 [details]
File descriptor map on anacondas activity during installation.

Comment 3 Joel Andres Granados 2007-10-19 14:09:25 UTC
Created attachment 232581 [details]
Same as first attachment but in plain text. <tab> is the delimitor.

Comment 4 Joel Andres Granados 2007-10-19 14:47:04 UTC
Created attachment 232621 [details]
Strace from the installation,  its a different install.

Comment 5 Joel Andres Granados 2007-10-22 08:04:51 UTC
Created attachment 233931 [details]
Some unclosed fds

Comment 6 Joel Andres Granados 2007-10-22 16:32:43 UTC
Created attachment 234241 [details]
list same list against the current cvs.