Bug 1358138 - [policycoreutils] 'sandbox -X' fails to launch
Summary: [policycoreutils] 'sandbox -X' fails to launch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 24
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-20 07:17 UTC by Joachim Frieben
Modified: 2016-07-24 20:20 UTC (History)
6 users (show)

Fixed In Version: policycoreutils-2.5-13.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-24 20:20:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Joachim Frieben 2016-07-20 07:17:09 UTC
Description of problem:
For current Fedora 24, it is still not possible to run a graphical applications in a sandbox by means of 'sandbox -X ..'.

Version-Release number of selected component (if applicable):
policycoreutils-2.5-12.fc24

How reproducible:
Always

Steps to Reproduce:
1. Run sandbox -X firefox.

Actual results:
Command sandbox aborts with the error message:
  "/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"

Expected results:
Command sandbox is expected without error.

Additional info:
Since bug 1103622 and duplicates are closed as ERRATA, the creation of a new bug report was mandatory.

Comment 1 Alphonse Steiner 2016-07-21 13:22:57 UTC
I have spend some time trying to debug this, and the fix is easy: change the interpreter from python to python3 into /usr/share/sandbox/start.

I have checked on my fc23 system: this file was fixed! So, can someone explain why the fc23 patches have not been applied to fc24 from the start?

Comment 2 Petr Lautrbach 2016-07-21 15:59:44 UTC
Thanks! This is apparently my fault. When I merged upstream 2.5 release to Fedora this particular change was reverted and I didn't check it.

I'll push an update with this fix ASAP.

Comment 3 Fedora Update System 2016-07-21 17:26:21 UTC
policycoreutils-2.5-13.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff5fc7ccaf

Comment 4 Fedora Update System 2016-07-22 19:21:45 UTC
policycoreutils-2.5-13.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-ff5fc7ccaf

Comment 5 Fedora Update System 2016-07-24 20:20:02 UTC
policycoreutils-2.5-13.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


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