Bug 1222190
| Summary: | SELinux is preventing qemu-system-x86 from 'open' accesses on the file /dev/shm/lttng-ust-wait-5. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vratislav Podzimek <vpodzime> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | devin, dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:808ddfc6a02d9ae5a4e2418efab6bf8c6b7df5887a6c37549250a4ac9082121b | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-05-18 09:35: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: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 1221945 *** |
Description of problem: Running VMs. SELinux is preventing qemu-system-x86 from 'open' accesses on the file /dev/shm/lttng-ust-wait-5. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that qemu-system-x86 should be allowed open access on the lttng-ust-wait-5 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 system_u:system_r:svirt_tcg_t:s0:c200,c933 Target Context system_u:object_r:tmpfs_t:s0 Target Objects /dev/shm/lttng-ust-wait-5 [ 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-126.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.0.3-300.fc22.x86_64 #1 SMP Wed May 13 18:43:52 UTC 2015 x86_64 x86_64 Alert Count 4 First Seen 2015-05-16 08:45:35 CEST Last Seen 2015-05-16 08:45:45 CEST Local ID a422c8b9-97c5-42a0-aef3-cba6cf713170 Raw Audit Messages type=AVC msg=audit(1431758745.569:558): avc: denied { open } for pid=5772 comm="qemu-system-x86" path="/dev/shm/lttng-ust-wait-5" dev="tmpfs" ino=30318 scontext=system_u:system_r:svirt_tcg_t:s0:c200,c933 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file permissive=0 Hash: qemu-system-x86,svirt_tcg_t,tmpfs_t,file,open Version-Release number of selected component: selinux-policy-3.13.1-126.fc22.noarch Additional info: reporter: libreport-2.5.1 hashmarkername: setroubleshoot kernel: 4.0.3-300.fc22.x86_64 type: libreport