Bug 1250557

Summary: audit2why and audit2allow exception on F23
Product: [Fedora] Fedora Reporter: Stephen Gallagher <sgallagh>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: dwalsh, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:15:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stephen Gallagher 2015-08-05 13:02:58 UTC
Description of problem:
Both 'audit2why -a' and 'audit2allow -a' fail with an exception on Fedora 23 Alpha RC1

Version-Release number of selected component (if applicable):
policycoreutils-python-utils-2.4-7.fc23.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. 'audit2why -a'

Actual results:
Traceback (most recent call last):
  File "/usr/bin/audit2allow", line 360, in <module>
    app.main()
  File "/usr/bin/audit2allow", line 346, in main
    self.__read_input()
  File "/usr/bin/audit2allow", line 164, in __read_input
    parser.parse_string(messages)
  File "/usr/lib64/python3.4/site-packages/sepolgen/audit.py", line 478, in parse_string
    lines = input.split('\n')
TypeError: 'str' does not support the buffer interface


Expected results:
A list of the AVCs

Additional info:

Comment 1 Stephen Gallagher 2015-08-05 13:15:03 UTC
This is probably a dupe of 1249388

*** This bug has been marked as a duplicate of bug 1249388 ***