View Issue Details

IDProjectCategoryView StatusLast Update
0013649CentOS-7policycoreutilspublic2019-06-23 00:34
Reporterhiroki.gouda 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0013649: [abrt] policycoreutils-gui: fcontextPage.py:197:add:IndexError: list index out of range
DescriptionVersion-Release number of selected component:
policycoreutils-gui-2.5-11.el7_3

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

Traceback (most recent call last):
  File "/usr/share/system-config-selinux/system-config-selinux.py", line 133, in add
    self.tabs[self.notebook.get_current_page()].addDialog()
  File "/usr/share/system-config-selinux/semanagePage.py", line 166, in addDialog
    if not self.add():
  File "/usr/share/system-config-selinux/fcontextPage.py", line 197, 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 0xaae31e0 (GtkListStore at 0x6d1ccc0)>
self: <fcontextPage.fcontextPage instance at 0x6a9f128>
fspec: '/usr/lib/[^/]*firefox[^/]*/plugin-container'
mls: 's0'
setype: 'mozilla_plugin_exec_t'
ftype: ['', '--', '-d', '-c', '-b', '-s', '-l', '-p']
active: 8
Additional Informationreporter: libreport-2.1.11.1
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: 4.9.41
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 0
TagsNo tags attached.
abrt_hash5c10c902666d16b5724dc6b8a0db3b09439eb940
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/03644292ad68be0b74715d9999c72cb58983cd75

Activities

hiroki.gouda

hiroki.gouda

2017-08-09 11:36

reporter  

backtrace (901 bytes)
fcontextPage.py:197:add:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/share/system-config-selinux/system-config-selinux.py", line 133, in add
    self.tabs[self.notebook.get_current_page()].addDialog()
  File "/usr/share/system-config-selinux/semanagePage.py", line 166, in addDialog
    if not self.add():
  File "/usr/share/system-config-selinux/fcontextPage.py", line 197, 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 0xaae31e0 (GtkListStore at 0x6d1ccc0)>
self: <fcontextPage.fcontextPage instance at 0x6a9f128>
fspec: '/usr/lib/[^/]*firefox[^/]*/plugin-container'
mls: 's0'
setype: 'mozilla_plugin_exec_t'
ftype: ['', '--', '-d', '-c', '-b', '-s', '-l', '-p']
active: 8
backtrace (901 bytes)
environ (306 bytes)
LANG=ja_JP.utf8
LC_NUMERIC=ja_JP.utf8
TERM=dumb
SHELL=/bin/bash
XAUTHORITY=/run/gdm/auth-for-suika-IlkfiK/database
LC_MONETARY=ja_JP.utf8
XDG_SEAT=seat0
LOGNAME=root
USER=root
HOME=/root
XDG_VTNR=1
PATH=/usr/sbin:/usr/bin:/sbin:/bin:/root/bin
LC_TIME=ja_JP.utf8
XDG_SESSION_ID=3
DISPLAY=:0
PKEXEC_UID=1003
environ (306 bytes)
machineid (135 bytes)
systemd=4ba0a9eac62b406298fd46dad43f2e7a
sosreport_uploader-dmidecode=542e9bb3bdb1a33b277eccc0d14ca405d0e36076a9ee847bbf934e187d554c96
machineid (135 bytes)
bcasey1975

bcasey1975

2019-06-23 00:34

reporter   ~0034708

Another user experienced a similar problem:

Occured when using the SELinux Administration tool trying to add a new File label. Trying to add a directory for ssl keys with a d filetype
under Select: File Labeling->add.

reporter: libreport-2.1.11.1
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.10.0-957.21.3.el7.x86_64
package: policycoreutils-gui-2.5-29.el7_6.1
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: fcontextPage.py:197:add:IndexError: list index out of range
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 0

Issue History

Date Modified Username Field Change
2017-08-09 11:36 hiroki.gouda New Issue
2017-08-09 11:36 hiroki.gouda File Added: backtrace
2017-08-09 11:36 hiroki.gouda File Added: environ
2017-08-09 11:36 hiroki.gouda File Added: machineid
2019-06-23 00:34 bcasey1975 Note Added: 0034708