| Summary: | SELinux is preventing qemu-system-x86 from 'read' accesses on the file kali-linux-2.0-amd64.iso. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Levzhazy Nurrevir <levzhazeschi> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 23 | CC: | agedosier, berrange, clalancette, crobinso, dominick.grift, dwalsh, itamar, jforbes, laine, libvirt-maint, lvrabec, mgrepl, plautrba, veillard, virt-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:73b8315a59abeee67870efe96ffca781a2edec02e8de3ff442bf12eef6729e7e;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-16 23:29:54 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
How did you create the VM (what tool)? How did you start the VM? |
Description of problem: SELinux is preventing qemu-system-x86 from 'read' accesses on the file kali-linux-2.0-amd64.iso. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that qemu-system-x86 should be allowed read access on the kali-linux-2.0-amd64.iso file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep qemu-system-x86 /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:svirt_t:s0:c412,c733 Target Context unconfined_u:object_r:user_home_t:s0 Target Objects kali-linux-2.0-amd64.iso [ file ] Source qemu-system-x86 Source Path qemu-system-x86 Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-158.fc23.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.2.8-300.fc23.x86_64 #1 SMP Tue Dec 15 16:49:06 UTC 2015 x86_64 x86_64 Alert Count 2 First Seen 2015-12-26 15:54:00 YEKT Last Seen 2015-12-26 15:54:00 YEKT Local ID 76ca0bb2-0a2e-4e10-86e6-54a1cd15aeda Raw Audit Messages type=AVC msg=audit(1451127240.98:897): avc: denied { read } for pid=31717 comm="qemu-system-x86" name="kali-linux-2.0-amd64.iso" dev="dm-2" ino=658659 scontext=unconfined_u:unconfined_r:svirt_t:s0:c412,c733 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0 Hash: qemu-system-x86,svirt_t,user_home_t,file,read Version-Release number of selected component: selinux-policy-3.13.1-158.fc23.noarch Additional info: reporter: libreport-2.6.3 hashmarkername: setroubleshoot kernel: 4.2.8-300.fc23.x86_64 type: libreport Potential duplicate: bug 988996