Bug 1594696 - [abrt] policycoreutils-gui: gen_interfaces(): selinux-polgengui:353:__init__:AttributeError: 'ValueError' object has no attribute 'message' [NEEDINFO]
Summary: [abrt] policycoreutils-gui: gen_interfaces(): selinux-polgengui:353:__init__:...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:6a9800f392d827dfa76414638da...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-25 08:35 UTC by phillD
Modified: 2018-11-30 23:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-30 23:47:24 UTC
Type: ---
Embargoed:
vmojzis: needinfo? (duncanapa)


Attachments (Terms of Use)
File: backtrace (2.38 KB, text/plain)
2018-06-25 08:35 UTC, phillD
no flags Details
File: cgroup (286 bytes, text/plain)
2018-06-25 08:35 UTC, phillD
no flags Details
File: cpuinfo (1.24 KB, text/plain)
2018-06-25 08:35 UTC, phillD
no flags Details
File: environ (1.59 KB, text/plain)
2018-06-25 08:35 UTC, phillD
no flags Details
File: mountinfo (3.21 KB, text/plain)
2018-06-25 08:35 UTC, phillD
no flags Details
File: namespaces (129 bytes, text/plain)
2018-06-25 08:35 UTC, phillD
no flags Details
File: open_fds (1.31 KB, text/plain)
2018-06-25 08:35 UTC, phillD
no flags Details

Description phillD 2018-06-25 08:35:07 UTC
Description of problem:
started selinux ... nothing 

Version-Release number of selected component:
policycoreutils-gui-2.7-6.fc27

Additional info:
reporter:       libreport-2.9.3
cmdline:        /usr/bin/python3 -Es /usr/bin/selinux-polgengui
crash_function: gen_interfaces
exception_type: ValueError
executable:     /usr/bin/selinux-polgengui
kernel:         4.16.16-200.fc27.x86_64
runlevel:       N 5
type:           Python3
uid:            508

Truncated backtrace:
selinux-polgengui:353:__init__:AttributeError: 'ValueError' object has no attribute 'message'

Traceback (most recent call last):
  File "/usr/bin/selinux-polgengui", line 345, in __init__
    for u in sepolicy.interface.get_user():
  File "/usr/lib/python3.6/site-packages/sepolicy/interface.py", line 113, in get_user
    for i in sepolicy.get_methods():
  File "/usr/lib/python3.6/site-packages/sepolicy/__init__.py", line 749, in get_methods
    gen_interfaces()
  File "/usr/lib/python3.6/site-packages/sepolicy/__init__.py", line 831, in gen_interfaces
    raise ValueError(_("You must regenerate interface info by running /usr/bin/sepolgen-ifgen"))
ValueError: You must regenerate interface info by running /usr/bin/sepolgen-ifgen

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/selinux-polgengui", line 783, in <module>
    app = childWindow()
  File "/usr/bin/selinux-polgengui", line 353, in __init__
    self.error(e.message)
AttributeError: 'ValueError' object has no attribute 'message'

Local variables in innermost frame:
iter: <Gtk.TreeIter object at 0x7f1044038168 (GtkTreeIter at 0x564fda4174c0)>
col: <Gtk.TreeViewColumn object at 0x7f10408924c8 (GtkTreeViewColumn at 0x564fda2d60c0)>
b: <Gtk.CheckButton object at 0x7f1044036af8 (GtkCheckButton at 0x564fda796800)>
i: 'xguest_u'
handlers: {'on_delete_clicked': <bound method childWindow.delete of <__main__.childWindow object at 0x7f1051c3ae80>>, 'on_delete_boolean_clicked': <bound method childWindow.delete_boolean of <__main__.childWindow object at 0x7f1051c3ae80>>, 'on_exec_select_clicked': <bound method childWindow.exec_select of <__main__.childWindow object at 0x7f1051c3ae80>>, 'on_init_script_select_clicked': <bound method childWindow.init_script_select of <__main__.childWindow object at 0x7f1051c3ae80>>, 'on_add_clicked': <bound method childWindow.add of <__main__.childWindow object at 0x7f1051c3ae80>>, 'on_add_boolean_clicked': <bound method childWindow.add_boolean of <__main__.childWindow object at 0x7f1051c3ae80>>, 'on_add_dir_clicked': <bound method childWindow.add_dir of <__main__.childWindow object at 0x7f1051c3ae80>>, 'on_about_clicked': <bound method childWindow.on_about_clicked of <__main__.childWindow object at 0x7f1051c3ae80>>}
label: <Gtk.TreeView object at 0x7f1044036b88 (GtkTreeView at 0x564fda7cc3e0)>
self: <__main__.childWindow object at 0x7f1051c3ae80>

Comment 1 phillD 2018-06-25 08:35:15 UTC
Created attachment 1454277 [details]
File: backtrace

Comment 2 phillD 2018-06-25 08:35:16 UTC
Created attachment 1454278 [details]
File: cgroup

Comment 3 phillD 2018-06-25 08:35:18 UTC
Created attachment 1454279 [details]
File: cpuinfo

Comment 4 phillD 2018-06-25 08:35:20 UTC
Created attachment 1454280 [details]
File: environ

Comment 5 phillD 2018-06-25 08:35:22 UTC
Created attachment 1454281 [details]
File: mountinfo

Comment 6 phillD 2018-06-25 08:35:23 UTC
Created attachment 1454282 [details]
File: namespaces

Comment 7 phillD 2018-06-25 08:35:25 UTC
Created attachment 1454283 [details]
File: open_fds

Comment 8 Vit Mojzis 2018-11-23 17:17:58 UTC
Thank you for reporting the issue.
Cold you please provide the output of the following commands?

# sestatus

# dnf list "selinux-policy*"

And could you try to reproduce the issue after running the following command?

# sepolgen-ifgen

Comment 9 Ben Cotton 2018-11-27 13:30:26 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Ben Cotton 2018-11-30 23:47:24 UTC
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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