Red Hat Bugzilla – Bug 208726
filedescriptor leak during upgrade install
Last modified: 2007-11-30 17:11:44 EST
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
Version-Release number of selected component (if applicable):
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.
system calls with fds of 23, 32, 45.
No fd larger than 10 to 15.
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.
requested by Jams Antill
Created attachment 232571 [details]
File descriptor map on anacondas activity during installation.
Created attachment 232581 [details]
Same as first attachment but in plain text. <tab> is the delimitor.
Created attachment 232621 [details]
Strace from the installation, its a different install.
Created attachment 233931 [details]
Some unclosed fds
Created attachment 234241 [details]
list same list against the current cvs.