Bug 567004
| Summary: | SELinux is preventing /usr/bin/qemu-kvm "setattr" access on 4. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Casey Dahlin <cdahlin> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 12 | CC: | berrange, dwalsh, mgrepl, twaugh, vanhoof |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:2614f3b50f989c7a8dd3edad4547ae8778a6494b0b565b83b679d6d4020fa5a5 | ||
| Fixed In Version: | selinux-policy-3.6.32-92.fc12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-03-04 00:17:02 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Casey Dahlin
2010-02-21 02:21:17 UTC
Miroslav,
We need to add
type $1_devpts_t;
term_pty($1_devpts_t)
allow $1_t $1_devpts_t:chr_file { rw_chr_file_perms setattr };
term_create_pty($1_t, $1_devpts_t)
to virt_domain_template
Which should then change the label to svirt_devpts_t and allow this access.
Fixed in selinux-policy-3.6.32-92.fc12 selinux-policy-3.6.32-92.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-92.fc12 selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2953 selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. I'm seeing this on F-13 with selinux-policy-3.7.10-4.fc13.noarch. Fixed in selinux-policy-3.7.11-1.fc13 |