Bug 1075173
Summary: | set mozilla_plugin_use_spice selinux boolean to on upon spice-xpi installation | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | David Jaša <djasa> | ||||
Component: | spice-xpi | Assignee: | Christophe Fergeau <cfergeau> | ||||
Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 7.0 | CC: | dblechte, desktop-qa-list, dominick.grift, mgrepl, mkrcmari, rbalakri, tpelka, vbenes, vehrlich | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | spice-xpi-2.8-7.el7 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause: When starting remote-viewer through spice-xpi, the selinux policy blocks execution of the suid helper used for USB redirection
Consequence: An error would occur when trying to redirect an USB device in a remote-viewer session started through spice-xpi
Fix: When the spice-xpi RPM is installed, the selinux policy is changed to allow USB redirection
Result: It's possible to redirect USB devices
|
Story Points: | --- | ||||
Clone Of: | 1049491 | Environment: | |||||
Last Closed: | 2015-03-05 07:59:16 UTC | Type: | Bug | ||||
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
David Jaša
2014-03-11 16:09:17 UTC
We want to keep mozilla_plugin_use_spice turn off by default. If needed then it should be turned on by spice pkg. moving to correct component. spice-xpi package needs to set this bool upon installation, otherwise USB redirection won't work for customers without further configuration. (In reply to David Jaša from comment #2) > moving to correct component. spice-xpi package needs to set this bool upon > installation, otherwise USB redirection won't work for customers without > further configuration. Do you know how/if this works in f20? The spice plugin selinux policy seems to be the same in both, and f20 spice-xpi is not doing anything special to the selinux policy on install. Created attachment 876045 [details]
Patch to set the needed selinux boolean on spice-xpi (un)install
The Requires line is probably better as -Requires: policycoreutils +Requires(post): /sbin/setsebool (In reply to Christophe Fergeau from comment #3) > Do you know how/if this works in f20? I just tested this on f20, and after reenabling plugin-container (which I had disabled myself), I hit this issue too, this will need to be fixed there too. Not a blocker for 7.0, need investigation and 7.1 is right place and time for it. Note, that spice-xpi is used for launching spice-client via rhevm. The new approach for launching spice-client is using vv files, that is already supported in rhevm moving to 7.1 as was approved by Ronald Pacheco Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0355.html |