| Summary: | SELinux is preventing /usr/bin/python from 'write' accesses on the sock_file log. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrew Jamison <linux> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:4b7efa7111f3aedd9fd5bc8b73b59fbbb7714e48b3080ad1c9183f9f98dceff8 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-10 08:46:48 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 selinux-policy-3.9.16-29.fc15 |
SELinux is preventing /usr/bin/python from 'write' accesses on the sock_file log. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that python should be allowed write access on the log sock_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 cobblerd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:cobblerd_t:s0 Target Context system_u:object_r:devlog_t:s0 Target Objects log [ sock_file ] Source cobblerd Source Path /usr/bin/python Port <Unknown> Host (removed) Source RPM Packages python-2.7.1-7.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-26.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.6-27.fc15.x86_64 #1 SMP Sun May 15 17:23:28 UTC 2011 x86_64 x86_64 Alert Count 6 First Seen Wed 01 Jun 2011 07:28:25 PM EDT Last Seen Mon 13 Jun 2011 12:57:54 PM EDT Local ID c2ebe946-80c7-4548-b028-4e68a113e57c Raw Audit Messages type=AVC msg=audit(1307984274.636:34): avc: denied { write } for pid=1602 comm="cobblerd" name="log" dev=devtmpfs ino=10970 scontext=system_u:system_r:cobblerd_t:s0 tcontext=system_u:object_r:devlog_t:s0 tclass=sock_file type=SYSCALL msg=audit(1307984274.636:34): arch=x86_64 syscall=connect success=no exit=EACCES a0=a a1=39b25957e0 a2=6e a3=65637865206e6f68 items=0 ppid=1601 pid=1602 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=cobblerd exe=/usr/bin/python subj=system_u:system_r:cobblerd_t:s0 key=(null) Hash: cobblerd,cobblerd_t,devlog_t,sock_file,write audit2allow #============= cobblerd_t ============== allow cobblerd_t devlog_t:sock_file write; audit2allow -R #============= cobblerd_t ============== allow cobblerd_t devlog_t:sock_file write;