Bug 1144762

Summary: [abrt] policycoreutils-gui: statusPage.py:102:set_current_mode:OSError: [Errno 13] Permission denied
Product: [Fedora] Fedora Reporter: Moez Roy <moez.roy>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/10600430fa63735e453edf7f4aefe5f23b25482f
Whiteboard: abrt_hash:192873348f023039a4d1c679f133e3edd4537c88
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-22 08:52:13 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:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Moez Roy 2014-09-20 14:17:20 UTC
Version-Release number of selected component:
policycoreutils-gui-2.3-7.1.fc21

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python -Es /usr/share/system-config-selinux/system-config-selinux.py
executable:     /usr/share/system-config-selinux/system-config-selinux.py
kernel:         3.16.3-300.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
statusPage.py:102:set_current_mode:OSError: [Errno 13] Permission denied

Traceback (most recent call last):
  File "/usr/share/system-config-selinux/statusPage.py", line 102, in set_current_mode
    selinux.security_setenforce(menu.get_active() == 1)
OSError: [Errno 13] Permission denied

Local variables in innermost frame:
menu: <gtk.ComboBox object at 0x7fd3192ac870 (GtkComboBox at 0x366b820)>
self: <statusPage.statusPage instance at 0x7fd31926f908>

Comment 1 Moez Roy 2014-09-20 14:17:22 UTC
Created attachment 939540 [details]
File: backtrace

Comment 2 Moez Roy 2014-09-20 14:17:22 UTC
Created attachment 939541 [details]
File: environ

Comment 3 Miroslav Grepl 2014-09-22 08:44:54 UTC
*** Bug 1144770 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2014-09-22 08:45:03 UTC
*** Bug 1144775 has been marked as a duplicate of this bug. ***

Comment 5 Miroslav Grepl 2014-09-22 08:45:55 UTC
*** Bug 1144768 has been marked as a duplicate of this bug. ***

Comment 6 Miroslav Grepl 2014-09-22 08:52:13 UTC
staff_t is not able to manage SELinux. You will need to switch to sysadm_t for example to run system-config-selinux directly.

Comment 7 Miroslav Grepl 2014-09-22 09:29:21 UTC
*** Bug 1144736 has been marked as a duplicate of this bug. ***