Bug 719692 - Fedora 15: Setroubleshoot has a missing dependency on report-gtk
Summary: Fedora 15: Setroubleshoot has a missing dependency on report-gtk
Keywords:
Status: CLOSED DUPLICATE of bug 715373
Alias: None
Product: Fedora
Classification: Fedora
Component: libreport
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Denys Vlasenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-07 16:58 UTC by Lucas Meneghel Rodrigues
Modified: 2015-10-18 22:41 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-07 18:17:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


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