| Summary: | SELinux is preventing /usr/bin/qemu-kvm from 'read' accesses on the file pulse-shm-3997504744. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David R. Fischer <fischer.d.r> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:acce4639ccdbea36da6cdedb51ee694b6723e60db39704df2b52901e7b64194b | ||
| Fixed In Version: | selinux-policy-3.9.7-42.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-12 05:17:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Miroslav add
# virt will attempt to us another virtualizations pubsaudio tmpfs_t, ignore error
dontaudit svirt_t svirt_tmpfs_t:file { read write };
to virt_domain_template
Fixed in selinux-policy-3.9.7-42.fc14 selinux-policy-3.9.7-42.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-42.fc14 Package selinux-policy-3.9.7-42.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.9.7-42.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-42.fc14 then log in and leave karma (feedback). selinux-policy-3.9.7-42.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |
SELinux is preventing /usr/bin/qemu-kvm from 'read' accesses on the file pulse-shm-3997504744. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that qemu-kvm should be allowed read access on the pulse-shm-3997504744 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-kvm /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:svirt_t:s0:c641,c768 Target Context system_u:object_r:svirt_tmpfs_t:s0:c106,c551 Target Objects pulse-shm-3997504744 [ file ] Source qemu-kvm Source Path /usr/bin/qemu-kvm Port <Unknown> Host (removed) Source RPM Packages qemu-system-x86-0.13.0-1.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-40.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.13-91.fc14.x86_64 #1 SMP Tue May 3 13:23:06 UTC 2011 x86_64 x86_64 Alert Count 3 First Seen Fri 13 May 2011 02:45:38 PM MST Last Seen Fri 13 May 2011 02:45:38 PM MST Local ID ffd925ac-02cf-4a2d-820b-47bc7a60b771 Raw Audit Messages type=AVC msg=audit(1305323138.793:842): avc: denied { read } for pid=688 comm="qemu-kvm" name="pulse-shm-3997504744" dev=tmpfs ino=651382 scontext=system_u:system_r:svirt_t:s0:c641,c768 tcontext=system_u:object_r:svirt_tmpfs_t:s0:c106,c551 tclass=file type=SYSCALL msg=audit(1305323138.793:842): arch=x86_64 syscall=open success=no exit=EACCES a0=7fff4ba0d6e0 a1=a0000 a2=0 a3=0 items=0 ppid=1 pid=688 auid=500 uid=107 gid=107 euid=107 suid=107 fsuid=107 egid=107 sgid=107 fsgid=107 tty=(none) ses=2 comm=qemu-kvm exe=/usr/bin/qemu-kvm subj=system_u:system_r:svirt_t:s0:c641,c768 key=(null) Hash: qemu-kvm,svirt_t,svirt_tmpfs_t,file,read audit2allow #============= svirt_t ============== #!!!! This avc is a constraint violation. You will need to add an attribute to either the source or target type to make it work. #Contraint rule: allow svirt_t svirt_tmpfs_t:file read; audit2allow -R #============= svirt_t ============== #!!!! This avc is a constraint violation. You will need to add an attribute to either the source or target type to make it work. #Contraint rule: allow svirt_t svirt_tmpfs_t:file read;