| Summary: | SELinux is preventing /usr/bin/python from 'create' accesses on the unix_dgram_socket Unknown. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Eric Blake <eblake> |
| 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: | 14 | CC: | dominick.grift, d.s.giulio83, dwalsh, eblake, eric_laura_d, fry.futurateam, mgrepl, rodrigoatique |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:8bd37cb6df22904ff839a8cf4d1f36a34e77fb0235e93b20d92ba4373ad3b851 | ||
| Fixed In Version: | selinux-policy-3.9.7-44.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-12 11:01:42 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed in selinux-policy-3.9.7-44.fc14 selinux-policy-3.9.7-44.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-44.fc14 Package selinux-policy-3.9.7-44.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-44.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-44.fc14 then log in and leave karma (feedback). selinux-policy-3.9.7-44.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. selinux-policy-3.9.7-44.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/python from 'create' accesses on the unix_dgram_socket Unknown. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that python should be allowed create access on the Unknown unix_dgram_socket 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 xm /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:virsh_t:s0 Target Context system_u:system_r:virsh_t:s0 Target Objects Unknown [ unix_dgram_socket ] Source xm Source Path /usr/bin/python Port <Unknown> Host (removed) Source RPM Packages python-2.7-8.fc14.1 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-92.fc14.x86_64 #1 SMP Sat May 21 17:26:25 UTC 2011 x86_64 x86_64 Alert Count 7 First Seen Fri 10 Jun 2011 10:49:37 PM MDT Last Seen Thu 30 Jun 2011 01:39:56 PM MDT Local ID 59a3c28a-6153-4681-b43b-7297b9429389 Raw Audit Messages type=AVC msg=audit(1309462796.754:16): avc: denied { create } for pid=2203 comm="xm" scontext=system_u:system_r:virsh_t:s0 tcontext=system_u:system_r:virsh_t:s0 tclass=unix_dgram_socket type=SYSCALL msg=audit(1309462796.754:16): arch=x86_64 syscall=socket success=no exit=EACCES a0=1 a1=80002 a2=0 a3=65637865206e6f68 items=0 ppid=2199 pid=2203 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=xm exe=/usr/bin/python subj=system_u:system_r:virsh_t:s0 key=(null) Hash: xm,virsh_t,virsh_t,unix_dgram_socket,create audit2allow #============= virsh_t ============== allow virsh_t self:unix_dgram_socket create; audit2allow -R #============= virsh_t ============== allow virsh_t self:unix_dgram_socket create;