Bug 1208529 - audit2allow fails on Fedora Atomic
Summary: audit2allow fails on Fedora Atomic
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-02 12:53 UTC by Stef Walter
Modified: 2015-09-25 10:53 UTC (History)
5 users (show)

Fixed In Version: 2.4-11.fc23 policycoreutils-2.3-18.fc22
Clone Of:
Environment:
Last Closed: 2015-09-25 10:53:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.