Bug 495254

Summary: system-config-selinux fails to start
Product: [Fedora] Fedora Reporter: Peeter Puusemp <peeter.as>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-11 12:22:26 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:

Description Peeter Puusemp 2009-04-10 19:31:09 UTC
Description of problem:
system-config-selinux fails to start:

[root@localhost ~]# system-config-selinux 
/usr/share/system-config-selinux/system-config-selinux.py:72: Warning: IA__g_object_get_valist: object class `GnomeProgram' has no property named `default-icon'
  xml = gtk.glade.XML ("/usr/share/system-config-selinux/system-config-selinux.glade", domain=PROGNAME)
Traceback (most recent call last):
  File "/usr/share/system-config-selinux/system-config-selinux.py", line 188, in <module>
    app = childWindow()
  File "/usr/share/system-config-selinux/system-config-selinux.py", line 87, in __init__
    self.add_page(fcontextPage.fcontextPage(xml))
  File "/usr/share/system-config-selinux/fcontextPage.py", line 94, in __init__
    self.load()
  File "/usr/share/system-config-selinux/fcontextPage.py", line 124, in load
    self.fcontext=seobject.fcontextRecords()
  File "/usr/lib64/python2.6/site-packages/seobject.py", line 1412, in __init__
    fd = open(selinux.selinux_file_context_subs_path(), "r")
IOError: [Errno 2] No such file or directory: '/etc/selinux/targeted/contexts/files/file_contexts.subs'
[root@localhost ~]#

It did work some time ago.

The system is fully updated.

Version-Release number of selected component (if applicable):
Name       : policycoreutils
Arch       : x86_64
Version    : 2.0.62
Release    : 8.fc11

How reproducible:


Steps to Reproduce:
1. Open system-config-selinux in the terminal as root or from the main menu.
2.
3.
  
Actual results:
Errors and the system-config-selinux dialog doesn't come up.

Expected results:
No errors and the system-config-selinux dialog comes up.

Additional info:

Comment 1 Daniel Walsh 2009-04-11 12:22:26 UTC
Fixed in policycoreutils-2.0.62-9.fc11.x86_64