Bug 1208529

Summary: audit2allow fails on Fedora Atomic
Product: [Fedora] Fedora Reporter: Stef Walter <stefw>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dwalsh, lsm5, mgrepl, plautrba, walters
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.4-11.fc23 policycoreutils-2.3-18.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-25 10:53:58 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 Stef Walter 2015-04-02 12:53:30 UTC
Description of problem:

[fedora@myatomic ~]$ audit2allow 
Traceback (most recent call last):
  File "/usr/bin/audit2allow", line 34, in <module>
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib64/python2.7/locale.py", line 579, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting


Version-Release number of selected component (if applicable):

policycoreutils-python-2.3-16.fc22.x86_64

audit2allow should either work, or not be included in Atomic.

Comment 1 Daniel Walsh 2015-08-21 05:13:03 UTC
audit2allow should catch this error.

try:
    locale.setlocale(locale.LC_ALL, '')
except:
    pass

What package is pulling in policycoreutils-python?  Not sure we need this in atomic.

Comment 2 Fedora Update System 2015-09-02 07:38:23 UTC
policycoreutils-2.4-11.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14821

Comment 3 Fedora Update System 2015-09-03 09:53:00 UTC
policycoreutils-2.4-11.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update policycoreutils'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14821

Comment 4 Fedora Update System 2015-09-04 03:22:51 UTC
policycoreutils-2.4-11.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2015-09-10 18:35:03 UTC
policycoreutils-2.3-18.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15553

Comment 6 Fedora Update System 2015-09-11 19:54:07 UTC
policycoreutils-2.3-18.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update policycoreutils'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15553

Comment 7 Fedora Update System 2015-09-25 10:53:54 UTC
policycoreutils-2.3-18.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.