Description of problem: system-config-selinux fails with TypeError Version-Release number of selected component (if applicable): policycoreutils-2.0.85-12.fc15.x86_64 How reproducible: each attempt from a gnome-terminal, no abrt output when icon clicked Steps to Reproduce: 1. in gnome-terminal, system-config-selinux 2. 3. Actual results: type error Expected results: management screen Additional info: gnome-terminal active in gnome-shell $ sudo system-config-selinux /usr/share/system-config-selinux/system-config-selinux.py:71: Warning: 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 186, in <module> app = childWindow() File "/usr/share/system-config-selinux/system-config-selinux.py", line 89, in __init__ self.add_page(portsPage.portsPage(xml)) File "/usr/share/system-config-selinux/portsPage.py", line 69, in __init__ self.load() File "/usr/share/system-config-selinux/portsPage.py", line 131, in load self.store.set_value(iter, PORT_COL, k[0]) TypeError: value is of the wrong type for this column
forgot to set severity...would say high
Any chance you defined your own port mapping using "semanage port"?
No. The only port indicated as accessible in system-config-firewall is 1024 UDP.
Could you attach the output of semanage port -l
Created attachment 480023 [details] semanage port -l As requested....
Nothing there that I see. I guess can you attach a compressed version of your policy file. /etc/selinux/targeted/policy/policy.24
Created attachment 480312 [details] policy.24 file as requested
Oooops.....please disregard. This is from F15AlphaRC1 not rawhide. I will have to reboot and resupply. Sorry for the confusion.
Created attachment 480314 [details] Rawhide policy.24 as requested
I think if you just execute # yum reinstall selinux-policy-targeted it will work because of an issue with F15AlphaRC1.
Did a fresh install of F15Alpha today (20110308) and yum updated from updates-testing and then yum install policycoreutils-gui. Still getting: sudo system-config-selinux /usr/share/system-config-selinux/system-config-selinux.py:71: Warning: 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 186, in <module> app = childWindow() File "/usr/share/system-config-selinux/system-config-selinux.py", line 89, in __init__ self.add_page(portsPage.portsPage(xml)) File "/usr/share/system-config-selinux/portsPage.py", line 69, in __init__ self.load() File "/usr/share/system-config-selinux/portsPage.py", line 131, in load self.store.set_value(iter, PORT_COL, k[0]) TypeError: value is of the wrong type for this column
Could you make sure # yum reinstall selinux-policy-targeted does not complain.
(In reply to comment #12) > Could you make sure > > # yum reinstall selinux-policy-targeted > > does not complain. The reinstall did not complain. However: sudo system-config-selinux is still failing with same traceback.
Fixed in policycoreutils-2.0.85-19.fc15
policycoreutils-2.0.85-19.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/policycoreutils-2.0.85-19.fc15
policycoreutils-2.0.85-19.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 847746 has been marked as a duplicate of this bug. ***