Bug 2057718
| Summary: | SELinux is preventing qemu-kvm from 'map' accesses on the anon_inode anon_inode. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Wilhelm.Buchmueller |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 34 | CC: | dwalsh, grepl.miroslav, lvrabec, mmalik, omosnace, pkoncity, vmojzis, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:c06394ba47415d67aba2f5dbf17a8aee2b59139df83f56169f97e44dd38361ac;VARIANT_ID=matecompiz; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-23 21:43:38 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 2051577 *** |
Description of problem: Selinux error on each run of qemu-kvm: map access on the anon_inode SELinux is preventing qemu-kvm from 'map' accesses on the anon_inode anon_inode. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that qemu-kvm should be allowed map access on the anon_inode anon_inode 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: # ausearch -c 'qemu-kvm' --raw | audit2allow -M my-qemukvm # semodule -X 300 -i my-qemukvm.pp Additional Information: Source Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Target Context unconfined_u:object_r:unconfined_t:s0 Target Objects anon_inode [ anon_inode ] Source qemu-kvm Source Path qemu-kvm Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-34.25-1.fc34.noarch Local Policy RPM selinux-policy-targeted-34.25-1.fc34.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.16.9-100.fc34.x86_64 #1 SMP PREEMPT Fri Feb 11 17:28:33 UTC 2022 x86_64 x86_64 Alert Count 161 First Seen 2022-02-08 14:08:58 CET Last Seen 2022-02-23 22:25:52 CET Local ID 44ba4afe-c2f3-4c6b-ad59-547ef490e863 Raw Audit Messages type=AVC msg=audit(1645651552.755:452): avc: denied { map } for pid=13442 comm="qemu-kvm" path="anon_inode:[io_uring]" dev="anon_inodefs" ino=374848 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=anon_inode permissive=0 Hash: qemu-kvm,unconfined_t,unconfined_t,anon_inode,map Version-Release number of selected component: selinux-policy-targeted-34.25-1.fc34.noarch Additional info: component: selinux-policy reporter: libreport-2.15.2 hashmarkername: setroubleshoot kernel: 5.16.9-100.fc34.x86_64 type: libreport