Bug 831850
| Summary: | SELinux prevents remote-viewer connection to Virtual machine provisioned by Ovirt Management | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marian Krcmarik <mkrcmari> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-20 00:29:08 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: | |||
Looks like we already have a fix for this in, Fixed in selinux-policy-3.10.0-130.fc17 selinux-policy-3.10.0-132.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-132.fc17 selinux-policy-3.10.0-132.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. selinux-policy-3.10.0-132.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: SELinux prevents remote-viewer connection to Virtual machine provisioned by Ovirt Management. AVC: type=AVC msg=audit(1339600810.583:314): avc: denied { name_connect } for pid=2546 comm="remote-viewer" dest=5911 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:vnc_port_t:s0 tclass=tcp_socket Version-Release number of selected component (if applicable): virt-viewer-0.5.3-1.fc17 spice-xpi-2.7-1.fc17 How reproducible: Always Steps to Reproduce: 1. Log in to RHEVM/Ovirt User portal in Firefox (management web frontend of RHEVM/Ovirt - virtualization managers, spice-xpi plugin needs to be installed. 2. Click on Spice console button to connect to any VM provisioned by RHEVM/Ovirt with using remote-viewer client (binary included in virt-viewer package). Actual results: AVC, SELinux prevents remote-viewer connection. Expected results: No AVC, successful cnenction in enforcing mode. Additional info: since it's not esay to get setup, I am willing to provide any more info. WORKAROUND: Switch to permissive mode