Bug 695288 - [abrt] policycoreutils-gui-2.0.83-19.1.el6: __init__.py:49:seinfo:RuntimeError: No default policy found.
Summary: [abrt] policycoreutils-gui-2.0.83-19.1.el6: __init__.py:49:seinfo:RuntimeErro...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: policycoreutils
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-11 10:32 UTC by Yogesh
Modified: 2018-11-14 13:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 15:30:27 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1637 0 normal SHIPPED_LIVE policycoreutils bug fix and enhancement update 2011-12-06 00:50:40 UTC

Description Yogesh 2011-04-11 10:32:34 UTC
Description of problem:
When selinux is disabled, policycoreutils-gui crashes with error
__init__.py:49:seinfo:RuntimeError: No default policy found.


Version-Release number of selected component (if applicable):
abrt version: 1.1.13
architecture: x86_64
cmdline: /usr/bin/python -Es /usr/share/system-config-selinux/polgengui.py
component: policycoreutils
executable: /usr/share/system-config-selinux/polgengui.py
kernel: 2.6.32-71.18.2.el6.x86_64
package: policycoreutils-gui-2.0.83-19.1.el6
reason: __init__.py:49:seinfo:RuntimeError: No default policy found.
release: Red Hat Enterprise Linux Server release 6.0 (Santiago)
time: 1300572024
uid: 0 

How reproducible:
Always

Steps to Reproduce:
1. Disable selinux
2. run command policycoreutils-gui

  
Actual results:
You get python crash message

Expected results:
It should provide proper GUI messagebox that selinux is disabled OR it should allow to generate offline selinux policy.


Additional info:
Reported and solved in F14
https://bugzilla.redhat.com/show_bug.cgi?id=632191

Comment 1 Daniel Walsh 2011-05-26 14:18:57 UTC
Fixed in policycoreutils-2.0.83-19.2

Comment 5 errata-xmlrpc 2011-12-06 15:30:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1637.html


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