| Summary: | Redirection of USB device causes error | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Aram Agajanian <agajania> |
| Component: | selinux-policy-targeted | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | dwalsh, hdegoede |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.12.1-116.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-16 07:08:37 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: | |
| Attachments: | |||
|
Description
Aram Agajanian
2013-12-17 21:07:40 UTC
This seems to be an selinux issue, re-assigning Running the following command (provided by the SELinux Troubleshooter) seems to have stopped the error from happening when I hotplug the flash drive: setsebool -P unconfined_mozilla_plugin_transition 0 Ah, right, you're starting virt-viewer through the xpi browser plugin, hmm. Selinux people any ideas how to solve this, virt-viewer will launch /usr/libexec/spice-gtk-x86_64/spice-client-glib-usb-acl-helper which needs to talk to polkit. Could you attach the AVC data? ausearch -m avc -ts recent After it happens. Created attachment 839847 [details]
Output of command "ausearch -m user_avc -ts recent" after hotplugging a USB flash drive with remote-viewer connected to a virtual desktop and unconfined_mozilla_plugin_transition=on.
7cde7460ef51d02f6649db2efd200e363cb242fc allows this in git. selinux-policy-3.12.1-116.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-116.fc20 Package selinux-policy-3.12.1-116.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-116.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-0806/selinux-policy-3.12.1-116.fc20 then log in and leave karma (feedback). This problem seems to have gone away with selinux-policy-targeted-3.12.1-116.fc20.noarch installed and mozilla_plugin_use_spice set to on. (The default value for mozilla_plugin_use_spice is off.) selinux-policy-3.12.1-116.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |