Bug 1264270

Summary: [abrt] policycoreutils-python: subprocess.py:1209:_close_in_parent:OSError: [Errno 9] Bad file descriptor
Product: [Fedora] Fedora Reporter: lso
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: dwalsh, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f64bfde53652ee4b0dcb0ee566a5ebd645dd3deb
Whiteboard: abrt_hash:a1ac136a6723af014b7348f1496a1c947a724c8f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-02 15:23:04 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: backtrace
none
File: environ none

Description lso 2015-09-18 05:31:27 UTC
Description of problem:
Unknown...was opening multiple tabs on Firefox.

Version-Release number of selected component:
policycoreutils-python-2.3-8.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        /usr/bin/python -Es /bin/audit2allow -a -M openresty
dso_list:       python-libs-2.7.8-9.fc21.x86_64
executable:     /bin/audit2allow
kernel:         4.1.6-100.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
subprocess.py:1209:_close_in_parent:OSError: [Errno 9] Bad file descriptor

Traceback (most recent call last):
  File "/bin/audit2allow", line 360, in <module>
    app.main()
  File "/bin/audit2allow", line 347, in main
    self.__process_input()
  File "/bin/audit2allow", line 175, in __process_input
    self.__avs = self.__parser.to_access()
  File "/usr/lib64/python2.7/site-packages/sepolgen/audit.py", line 581, in to_access
    avc.path = self.__restore_path(avc.name, avc.ino)
  File "/usr/lib64/python2.7/site-packages/sepolgen/audit.py", line 521, in __restore_path
    shell=True)
  File "/usr/lib64/python2.7/subprocess.py", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1313, in _execute_child
    _close_in_parent(c2pwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1209, in _close_in_parent
    os.close(fd)
OSError: [Errno 9] Bad file descriptor

Local variables in innermost frame:
to_close: set([3, 4])
fd: 4

Comment 1 lso 2015-09-18 05:31:29 UTC
Created attachment 1074681 [details]
File: backtrace

Comment 2 lso 2015-09-18 05:31:30 UTC
Created attachment 1074682 [details]
File: environ

Comment 3 Fedora End Of Life 2015-11-04 10:29:18 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2015-12-02 15:23:12 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.