| Summary: | SELinux is preventing /usr/bin/python from 'write' accesses on the sock_file setroubleshoot_server. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | James Cape <jamescape777> |
| 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: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:cf3ae827645de941f0017117cc255e30381425fbf96396d4bfe8c66949cc8cbc | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-24 05:40:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 748085 *** |
libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-0.rc10.git0.1.fc16.x86_64 reason: SELinux is preventing /usr/bin/python from 'write' accesses on the sock_file setroubleshoot_server. time: Fri Oct 21 20:22:01 2011 description: :SELinux is preventing /usr/bin/python from 'write' accesses on the sock_file setroubleshoot_server. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that python should be allowed write access on the setroubleshoot_server 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 sealert /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 :Target Context system_u:object_r:setroubleshoot_var_run_t:s0 :Target Objects setroubleshoot_server [ sock_file ] :Source sealert :Source Path /usr/bin/python :Port <Unknown> :Host (removed) :Source RPM Packages python-2.7.2-4.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-40.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux orwell.ignore-your.tv : 3.1.0-0.rc10.git0.1.fc16.x86_64 #1 SMP Wed Oct 19 : 05:02:17 UTC 2011 x86_64 x86_64 :Alert Count 1 :First Seen Fri 21 Oct 2011 08:20:51 PM CDT :Last Seen Fri 21 Oct 2011 08:20:51 PM CDT :Local ID 0e5e49ca-6102-4976-93ff-517b072cf218 : :Raw Audit Messages :type=AVC msg=audit(1319246451.282:400): avc: denied { write } for pid=4639 comm="sealert" name="setroubleshoot_server" dev=tmpfs ino=54907 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:setroubleshoot_var_run_t:s0 tclass=sock_file : : :type=AVC msg=audit(1319246451.282:400): avc: denied { connectto } for pid=4639 comm="sealert" path="/run/setroubleshoot/setroubleshoot_server" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tclass=unix_stream_socket : : :type=SYSCALL msg=audit(1319246451.282:400): arch=x86_64 syscall=connect success=yes exit=0 a0=9 a1=7fff684e6850 a2=2f a3=1cd10a0 items=0 ppid=1 pid=4639 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm=sealert exe=/usr/bin/python subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) : :Hash: sealert,xdm_t,setroubleshoot_var_run_t,sock_file,write : :audit2allow : :#============= xdm_t ============== :allow xdm_t setroubleshoot_var_run_t:sock_file write; :allow xdm_t setroubleshootd_t:unix_stream_socket connectto; : :audit2allow -R : :#============= xdm_t ============== :allow xdm_t setroubleshoot_var_run_t:sock_file write; :allow xdm_t setroubleshootd_t:unix_stream_socket connectto; :