Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1072119

Summary: IOError: [Errno 9] Bad file descriptor
Product: Red Hat Enterprise Linux 7 Reporter: Xander D Harkness <harkness>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: nobody, packaging-team-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:14eeb3970cda25eb2400b27707b2b6cf5a5e490e172c8009964f68e1c9954ed8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-12 15:21:23 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:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Xander D Harkness 2014-03-04 00:35:12 UTC
Version-Release number of selected component:
anaconda-19.31.36-1

The following was filed automatically by anaconda:
anaconda 19.31.36-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1726, in _do_grab
    self.fo.close()
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1589, in _do_open
    self._do_grab()
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1258, in __init__
    self._do_open()
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1157, in retryfunc
    fo = PyCurlFileObject(url, filename, opts)
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1064, in _retry
    r = apply(func, (opts,) + args, {})
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1172, in urlgrab
    return self._retry(opts, retryfunc, url, filename)
  File "/usr/lib/python2.7/site-packages/urlgrabber/mirror.py", line 425, in _mirror_try
    return func_ref( *(fullurl,), opts=opts, **kw )
  File "/usr/lib/python2.7/site-packages/urlgrabber/mirror.py", line 448, in urlgrab
    return self._mirror_try(func, url, kw)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1022, in _getFile
    **kwargs
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1843, in _retrieveMD
    **kwargs)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 234, in populate
    db_fn = repo._retrieveMD(mydbtype)
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 383, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 776, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1071, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 910, in _getGroups
    self.pkgSack
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1094, in <lambda>
    comps = property(fget=lambda self: self._getGroups(),
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1170, in _yumGroups
    self._groups = self._yum.comps
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1055, in environments
    yum_groups = self._yumGroups
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 207, in _initialize
    self.payload.environments
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
IOError: [Errno 9] Bad file descriptor

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=RHEL-7.0\x20Everything.x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-54.0.1.el7.x86_64
product:        Red Hat Enterprise Linux
release:        Red Hat Enterprise Linux Server release 7.0 Beta (Maipo)
type:           anaconda
version:        7.0

Comment 1 Xander D Harkness 2014-03-04 00:35:17 UTC
Created attachment 870184 [details]
File: anaconda-tb

Comment 2 Xander D Harkness 2014-03-04 00:35:20 UTC
Created attachment 870185 [details]
File: anaconda.log

Comment 3 Xander D Harkness 2014-03-04 00:35:23 UTC
Created attachment 870186 [details]
File: environ

Comment 4 Xander D Harkness 2014-03-04 00:35:25 UTC
Created attachment 870187 [details]
File: lsblk_output

Comment 5 Xander D Harkness 2014-03-04 00:35:27 UTC
Created attachment 870188 [details]
File: nmcli_dev_list

Comment 6 Xander D Harkness 2014-03-04 00:35:29 UTC
Created attachment 870189 [details]
File: os_info

Comment 7 Xander D Harkness 2014-03-04 00:35:31 UTC
Created attachment 870190 [details]
File: program.log

Comment 8 Xander D Harkness 2014-03-04 00:35:34 UTC
Created attachment 870191 [details]
File: storage.log

Comment 9 Xander D Harkness 2014-03-04 00:35:36 UTC
Created attachment 870192 [details]
File: syslog

Comment 10 Xander D Harkness 2014-03-04 00:35:38 UTC
Created attachment 870193 [details]
File: ifcfg.log

Comment 11 Xander D Harkness 2014-03-04 00:35:41 UTC
Created attachment 870194 [details]
File: packaging.log

Comment 13 James Antill 2014-03-12 06:57:55 UTC
 As with the other two bugs "in yum" I'm going to kick this back to anaconda, assuming you have some threading bug somewhere that is closing an fd it doesn't own.

Comment 14 Dave Cantrell 2014-03-12 15:21:23 UTC
Too old:
anaconda-19.31.36-1

Latest is anaconda-19.31.65-1