Bug 719692

Summary: Fedora 15: Setroubleshoot has a missing dependency on report-gtk
Product: [Fedora] Fedora Reporter: Lucas Meneghel Rodrigues <lmr>
Component: libreportAssignee: Denys Vlasenko <dvlasenk>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: areis, dvlasenk, dwalsh, jmoskovc, kklic, mgrepl, mlichvar, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-07 18:17:15 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:

Description Lucas Meneghel Rodrigues 2011-07-07 16:58:09 UTC
Description of problem: Setroubleshoot has a missing dependency on report-gtk


Version-Release number of selected component (if applicable): setroubleshoot-3.0.37-1.fc15.x86_64


How reproducible: Always


Steps to Reproduce:
1. Trigger a SELinux warning on your system
2. Wait until seapplet comes up to help you figure the issue
3. Click on the applet, a window will appear with the message:

Opps, sealert hit an error!

Traceback (most recent call last):
  File "/usr/bin/sealert", line 692, in <module>
    run_as_dbus_service(username)
  File "/usr/bin/sealert", line 112, in run_as_dbus_service
    app = SEAlert(user, dbus_service.presentation_manager, watch_setroubleshootd=True)
  File "/usr/bin/sealert", line 326, in __init__
    from setroubleshoot.browser import BrowserApplet
  File "/usr/lib64/python2.7/site-packages/setroubleshoot/browser.py", line 41, in <module>
    import report.io.GTKIO
ImportError: No module named GTKIO

Actual results: Window with message error above


Expected results: SELinux Alert browser to come up


Additional info: Investigating the issue, I've found that

/usr/lib64/python2.7/site-packages/setroubleshoot/browser.py

Comes from the aforementioned setroubleshoot browser. A little more digging has shown me that the package that provides report.io.GTKIO is report-gtk. Therefore, something was updated on the code of this tool, but the rpm dependencies for setroubleshoot were not updated. Users upgrading from older Fedora will have this problem. Installing report-gtk solves the problem, but it's a workaround.

It appears to me that the proper fix is to add report-gtk to the list of dependencies of setroubleshoot, but I leave the fix up to be decided by the package maintainer.

Comment 1 Daniel Walsh 2011-07-07 18:17:15 UTC

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