Bug 1144770 - [abrt] policycoreutils-gui: statusPage.py:162:write_selinux_config:IOError: [Errno 13] Permission denied: '/etc/selinux/config.bck'
Summary: [abrt] policycoreutils-gui: statusPage.py:162:write_selinux_config:IOError: [...
Keywords:
Status: CLOSED DUPLICATE of bug 1144762
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5c92132bf6b6a93e5c7e901ae28...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-20 15:22 UTC by Moez Roy
Modified: 2014-09-22 08:44 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-22 08:44:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.34 KB, text/plain)
2014-09-20 15:22 UTC, Moez Roy
no flags Details
File: environ (230 bytes, text/plain)
2014-09-20 15:22 UTC, Moez Roy
no flags Details

Description Moez Roy 2014-09-20 15:22:05 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:162:write_selinux_config:IOError: [Errno 13] Permission denied: '/etc/selinux/config.bck'

Traceback (most recent call last):
  File "/usr/share/system-config-selinux/statusPage.py", line 153, in enabled_changed
    self.write_selinux_config(modearray[enabled], setype )
  File "/usr/share/system-config-selinux/statusPage.py", line 162, in write_selinux_config
    fd = open(backup_path, "w")
IOError: [Errno 13] Permission denied: '/etc/selinux/config.bck'

Local variables in innermost frame:
backup_path: '/etc/selinux/config.bck'
enforcing: 'enforcing'
lines: ['\n', '# This file controls the state of SELinux on the system.\n', '# SELINUX= can take one of these three values:\n', '#     enforcing - SELinux security policy is enforced.\n', '#     permissive - SELinux prints warnings instead of enforcing.\n', '#     disabled - No SELinux policy is loaded.\n', 'SELINUX=permissive\n', '# SELINUXTYPE= can take one of these three values:\n', '#     targeted - Targeted processes are protected,\n', '#     minimum - Modification of targeted policy. Only selected processes are protected. \n', '#     mls - Multi Level Security protection.\n', 'SELINUXTYPE=targeted\n', '\n', '\n']
setype: 'targeted'
fd: <closed file '/etc/selinux/config', mode 'r' at 0x7f8dc35ab660>
path: '/etc/selinux/config'
self: <statusPage.statusPage instance at 0x7f8dc245c908>

Comment 1 Moez Roy 2014-09-20 15:22:07 UTC
Created attachment 939574 [details]
File: backtrace

Comment 2 Moez Roy 2014-09-20 15:22:08 UTC
Created attachment 939575 [details]
File: environ

Comment 3 Miroslav Grepl 2014-09-22 08:44:54 UTC

*** This bug has been marked as a duplicate of bug 1144762 ***


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