Description of problem:
sandbox don't run any GUI application:
Version-Release number of selected component (if applicable):
/usr/bin/sandbox -X /usr/bin/firefox
Steps to Reproduce:
Traceback (most recent call last):
File "/usr/bin/sandbox", line 514, in <module>
rc = sandbox.main()
File "/usr/bin/sandbox", line 502, in main
File "/usr/bin/sandbox", line 454, in __execute
ImportError: No module named 'gtk'
run application in graphical mode
in F24 too
Possibly related to https://bugzilla.redhat.com/show_bug.cgi?id=1253786 ? (Also seeing this with Fedora 24 beta release, policycoreutils-2.5-5.fc24.)
checkpolicy-2.5-6.fc24, libselinux-2.5-9.fc24, libsemanage-2.5-5.fc24, libsepol-2.5-8.fc24, policycoreutils-2.5-12.fc24, secilc-2.5-4.fc24 has been pushed to the Fedora 24 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-2016-84d1f77e58
Still seeing the gtk problem with the latest updates, obviously depends on exact sandbox invocation:
> sandbox -X xterm
/usr/bin/sandbox:454: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
> sandbox -X --dpi 70 xterm
... (no gtk problem but fails due to what appears to be bug 1103622)
This appears to be a duplicate of bug 1103622.
checkpolicy-2.5-6.fc24, libselinux-2.5-9.fc24, libsemanage-2.5-5.fc24, libsepol-2.5-8.fc24, policycoreutils-2.5-12.fc24, secilc-2.5-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
(In reply to Petr Tuma from comment #3)
Issue has been reported in new bug 1358138.