Bug 1444549

Summary: [abrt] setroubleshoot-server: get_if_text(): catchall_boolean.py:60:get_if_text:AttributeError: module 'seobject' has no attribute 'boolean_desc'
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: setroubleshootAssignee: Vit Mojzis <vmojzis>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: alciregi, balay, code, dwalsh, juliux.pigface, mgrepl, motoskov, mvollmer, plautrba, pmoore, vedran, vmojzis, xzj8b3
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/603d082fccf8f9f15fc3d3ab5d73a4cb81a845c6
Whiteboard: abrt_hash:2c383c21dac3f45b474a92284db83f8f9c0dadb2;VARIANT_ID=workstation;
Fixed In Version: setroubleshoot-3.3.12-1.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-23 01:55:59 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: cgroup
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Mikhail 2017-04-22 06:00:19 UTC
Version-Release number of selected component:
setroubleshoot-server-3.3.11-3.fc26

Additional info:
reporter:       libreport-2.9.1
cmdline:        /usr/bin/python3 -Es /usr/bin/sealert -s
crash_function: get_if_text
exception_type: AttributeError
executable:     /usr/bin/sealert
kernel:         4.11.0-0.rc7.git0.1.fc26.x86_64+debug
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
catchall_boolean.py:60:get_if_text:AttributeError: module 'seobject' has no attribute 'boolean_desc'

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/setroubleshoot/browser.py", line 827, in on_previous_button_clicked
    self.show_current_alert()
  File "/usr/lib/python3.6/site-packages/setroubleshoot/browser.py", line 800, in show_current_alert
    rb = self.add_row(p, alert, args)
  File "/usr/lib/python3.6/site-packages/setroubleshoot/browser.py", line 437, in add_row
    if_text = _("If ") + alert.substitute(plugin.get_if_text(avc, args))
  File "/usr/share/setroubleshoot/plugins/catchall_boolean.py", line 60, in get_if_text
    txt=seobject.boolean_desc(args[0])
AttributeError: module 'seobject' has no attribute 'boolean_desc'

Local variables in innermost frame:
args: ('nis_enabled', '1', 'None')
avc: [<setroubleshoot.audit_data.AuditRecord object at 0x7f7f8cf24390>]
self: <plugins.catchall_boolean.plugin object at 0x7f7f8c8336a0>

Comment 1 Mikhail 2017-04-22 06:00:26 UTC
Created attachment 1273369 [details]
File: backtrace

Comment 2 Mikhail 2017-04-22 06:00:28 UTC
Created attachment 1273370 [details]
File: cgroup

Comment 3 Mikhail 2017-04-22 06:00:30 UTC
Created attachment 1273371 [details]
File: environ

Comment 4 Mikhail 2017-04-22 06:00:31 UTC
Created attachment 1273372 [details]
File: mountinfo

Comment 5 Mikhail 2017-04-22 06:00:33 UTC
Created attachment 1273373 [details]
File: namespaces

Comment 6 Mikhail 2017-04-22 06:00:35 UTC
Created attachment 1273374 [details]
File: open_fds

Comment 7 Mikhail 2017-04-22 06:31:43 UTC
Similar problem has been detected:

delete all SELinux alerts

reporter:       libreport-2.9.1
cmdline:        /usr/bin/python3 -Es /usr/bin/sealert -s
crash_function: get_if_text
exception_type: AttributeError
executable:     /usr/bin/sealert
kernel:         4.11.0-0.rc7.git0.1.fc26.x86_64+debug
package:        setroubleshoot-server-3.3.11-3.fc26
reason:         catchall_boolean.py:60:get_if_text:AttributeError: module 'seobject' has no attribute 'boolean_desc'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 8 Vit Mojzis 2017-04-24 11:39:33 UTC
*** Bug 1442541 has been marked as a duplicate of this bug. ***

Comment 9 Vit Mojzis 2017-04-25 08:37:58 UTC
Thank you for reporting the issue. The following commit should fix it (it will be available in next version of setroubleshoot-plugins package).

https://github.com/fedora-selinux/setroubleshoot/commit/51128abe9a47ff6dee1cb142e936f3f9e6b70f2f

Comment 10 Vit Mojzis 2017-04-26 07:04:28 UTC
*** Bug 1441638 has been marked as a duplicate of this bug. ***

Comment 11 Giulio 'juliuxpigface' 2017-04-27 19:34:13 UTC
Similar problem has been detected:

Hit this while browsing SELinux' alerts, after the installation of "Fedora-Xfce-Live-x86_64-26-20170420.n.0.iso" on qemu-kvm.

reporter:       libreport-2.9.1
cmdline:        /usr/bin/python3 -Es /usr/bin/sealert -s
crash_function: get_if_text
exception_type: AttributeError
executable:     /usr/bin/sealert
kernel:         4.11.0-0.rc6.git0.1.fc26.x86_64
package:        setroubleshoot-server-3.3.11-3.fc26
reason:         catchall_boolean.py:60:get_if_text:AttributeError: module 'seobject' has no attribute 'boolean_desc'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 12 Alessio 2017-04-28 21:15:08 UTC
Similar problem has been detected:

I was running kernel-test

reporter:       libreport-2.9.1
cmdline:        /usr/bin/python3 -Es /usr/bin/sealert -s
crash_function: get_if_text
exception_type: AttributeError
executable:     /usr/bin/sealert
kernel:         4.11.0-0.rc8.git0.1.fc26.x86_64
package:        setroubleshoot-server-3.3.11-3.fc26
reason:         catchall_boolean.py:60:get_if_text:AttributeError: module 'seobject' has no attribute 'boolean_desc'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 13 xzj8b3 2017-05-16 20:47:11 UTC
*** Bug 1451506 has been marked as a duplicate of this bug. ***

Comment 14 xzj8b3 2017-06-10 13:19:49 UTC
*** Bug 1460440 has been marked as a duplicate of this bug. ***

Comment 15 Fedora Update System 2017-06-13 15:35:09 UTC
setroubleshoot-plugins-3.3.7-1.fc26 setroubleshoot-3.3.12-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d44051d130

Comment 16 Fedora Update System 2017-06-13 15:37:21 UTC
setroubleshoot-plugins-3.3.7-1.fc25 setroubleshoot-3.3.12-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5be70ca974

Comment 17 Fedora Update System 2017-06-15 10:57:15 UTC
setroubleshoot-3.3.12-1.fc25, setroubleshoot-plugins-3.3.7-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5be70ca974

Comment 18 Fedora Update System 2017-06-15 13:57:20 UTC
setroubleshoot-3.3.12-1.fc26, setroubleshoot-plugins-3.3.7-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d44051d130

Comment 19 Fedora Update System 2017-06-16 13:20:06 UTC
setroubleshoot-3.3.12-1.fc26, setroubleshoot-plugins-3.3.7-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2017-06-23 01:55:59 UTC
setroubleshoot-3.3.12-1.fc25, setroubleshoot-plugins-3.3.7-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.