RHEL 7 kickstart fails with ABRT message "[abrt] anaconda-19.31.79-1: OSError: [Errno 9] Bad file descriptor"

Solution Unverified - Updated -

Issue

  • RHEL 7 kickstart fails with ABRT message [abrt] anaconda-19.31.79-1: OSError: [Errno 9] Bad file descriptor
  • The abrt traceback is:
backtrace:
:Traceback (most recent call last):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 211, in run
:    threading.Thread.run(self, *args, **kwargs)
:  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/ui/gui/spokes/storage.py", line 373, in _doExecute
:    self.storage.reset()
:  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 413, in reset
:    self.devicetree.populate(cleanupOnly=cleanupOnly)
:  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1985, in populate
:    self._populate()
:  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2055, in _populate
:    self.teardownAll()
:  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2086, in teardownAll
:    device.teardown(recursive=True)
:  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 760, in teardown
:    if not self._preTeardown(recursive=recursive):
:  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 749, in _preTeardown
:    udev_settle()
:  File "/usr/lib/python2.7/site-packages/blivet/udev.py", line 86, in udev_settle
:    util.run_program(["udevadm", "settle", "--timeout=300"])
:  File "/usr/lib/python2.7/site-packages/blivet/util.py", line 56, in run_program
:    return _run_program(*args, **kwargs)[0]
:  File "/usr/lib/python2.7/site-packages/blivet/util.py", line 40, in _run_program
:    preexec_fn=chroot, cwd=root, env=env)
:  File "/usr/lib64/python2.7/subprocess.py", line 747, in __init__
:    self.stdout = os.fdopen(c2pread, 'rb', bufsize)
:OSError: [Errno 9] Bad file descriptor

description:
:The following was filed automatically by anaconda:
:anaconda 19.31.79-1 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/subprocess.py", line 747, in __init__
:    self.stdout = os.fdopen(c2pread, 'rb', bufsize)
:  File "/usr/lib/python2.7/site-packages/blivet/util.py", line 40, in _run_program
:    preexec_fn=chroot, cwd=root, env=env)
:  File "/usr/lib/python2.7/site-packages/blivet/util.py", line 56, in run_program
:    return _run_program(*args, **kwargs)[0]
:  File "/usr/lib/python2.7/site-packages/blivet/udev.py", line 86, in udev_settle
:    util.run_program(["udevadm", "settle", "--timeout=300"])
:  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 749, in _preTeardown
:    udev_settle()
:  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 760, in teardown
:    if not self._preTeardown(recursive=recursive):
:  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2086, in teardownAll
:    device.teardown(recursive=True)
:  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2055, in _populate
:    self.teardownAll()
:  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1985, in populate
:    self._populate()
:  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 413, in reset
:    self.devicetree.populate(cleanupOnly=cleanupOnly)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 373, in _doExecute
:    self.storage.reset()
:  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 211, in run
:    threading.Thread.run(self, *args, **kwargs)
:OSError: [Errno 9] Bad file descriptor

Environment

  • Red Hat Enterprise Linux 7.0
  • Anaconda-19.31.79

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content