Bug 1060637 - [abrt] policycoreutils-gui: fcontextPage.py:194:add:IndexError: list index out of range
Summary: [abrt] policycoreutils-gui: fcontextPage.py:194:add:IndexError: list index ou...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 20
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:715fab0452e5fadfa1c59af3aeb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-03 07:06 UTC by Will Tisdale
Modified: 2014-10-15 06:50 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-24 06:20:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (873 bytes, text/plain)
2014-02-03 07:06 UTC, Will Tisdale
no flags Details
File: environ (309 bytes, text/plain)
2014-02-03 07:06 UTC, Will Tisdale
no flags Details

Description Will Tisdale 2014-02-03 07:06:44 UTC
Version-Release number of selected component:
policycoreutils-gui-2.2.5-1.fc20

Additional info:
reporter:       libreport-2.1.11
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.13.0-666.preempt.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
fcontextPage.py:194:add:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/share/system-config-selinux/system-config-selinux.py", line 131, in add
    self.tabs[self.notebook.get_current_page()].addDialog()
  File "/usr/share/system-config-selinux/semanagePage.py", line 163, in addDialog
    if not self.add():
  File "/usr/share/system-config-selinux/fcontextPage.py", line 194, in add
    subprocess.check_output("semanage fcontext -a -t %s -r %s -f '%s' '%s'" % (setype, mls, ftype[active], fspec),
IndexError: list index out of range

Local variables in innermost frame:
list_model: <gtk.ListStore object at 0x7fb33d77a2d0 (GtkListStore at 0x5da0100)>
self: <fcontextPage.fcontextPage instance at 0x5c437a0>
fspec: '/mnt/storage/Videos'
mls: 's0'
setype: 'user_home_t'
ftype: ['', '--', '-d', '-c', '-b', '-s', '-l', '-p']
active: 20

Comment 1 Will Tisdale 2014-02-03 07:06:48 UTC
Created attachment 858388 [details]
File: backtrace

Comment 2 Will Tisdale 2014-02-03 07:06:50 UTC
Created attachment 858389 [details]
File: environ

Comment 3 Miroslav Grepl 2014-02-04 11:01:25 UTC
What context did you try to add?

You can also play with

$ sepolicy gui

tool.

Comment 4 Will Tisdale 2014-09-01 18:10:19 UTC
Info not available.


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