| Summary: | SELinux is preventing /usr/bin/python from 'execute' accesses on the file /tmp/orcexec.6gxTxj (deleted). | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Iván Jiménez <icj> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | 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:c5e8f5a3f0a8ac71f3f360c05fb8c3f2e7542b2ae8977228649ddc0b7d8a9df7 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-22 09:47:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Why do you think this is a bug? Sealert tells you what to do. ***** Plugin catchall_boolean (89.3 confidence) suggests ******************* If you want to allow_xguest_exec_content Then you must tell SELinux about this by enabling the 'allow_xguest_exec_content' boolean. Do setsebool -P allow_xguest_exec_content 1 (In reply to comment #1) > Why do you think this is a bug? Sealert tells you what to do. It appears every time a normal user logs in after guest has logged in, so maybe it should be allowed by default. Who is creating this /tmp/orcexec.6gxTxj ? Why would xguest want to execute a random file in /tmp? |
SELinux is preventing /usr/bin/python from 'execute' accesses on the file /tmp/orcexec.6gxTxj (deleted). ***** Plugin catchall_boolean (89.3 confidence) suggests ******************* If you want to allow_xguest_exec_content Then you must tell SELinux about this by enabling the 'allow_xguest_exec_content' boolean. Do setsebool -P allow_xguest_exec_content 1 ***** Plugin catchall (11.6 confidence) suggests *************************** If you believe that python should be allowed execute access on the orcexec.6gxTxj (deleted) 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 applet.py /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context xguest_u:xguest_r:xguest_t:s0 Target Context xguest_u:object_r:user_tmp_t:s0 Target Objects /tmp/orcexec.6gxTxj (deleted) [ file ] Source applet.py Source Path /usr/bin/python Port <Desconocido> Host (removed) Source RPM Packages gstreamer-0.10.31-1.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-29.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44 UTC 2011 x86_64 x86_64 Alert Count 3 First Seen vie 28 ene 2011 22:24:18 COT Last Seen jue 17 feb 2011 10:28:24 COT Local ID 8774fdd0-a924-4a3e-a276-e355fef13bc0 Raw Audit Messages type=AVC msg=audit(1297956504.548:26): avc: denied { execute } for pid=1975 comm="gst-plugin-scan" path=2F746D702F6F7263657865632E36677854786A202864656C6574656429 dev=tmpfs ino=29662 scontext=xguest_u:xguest_r:xguest_t:s0 tcontext=xguest_u:object_r:user_tmp_t:s0 tclass=file type=SYSCALL msg=audit(1297956504.548:26): arch=x86_64 syscall=mmap success=no exit=EACCES a0=0 a1=10000 a2=5 a3=1 items=0 ppid=1972 pid=1975 auid=513 uid=513 gid=513 euid=513 suid=513 fsuid=513 egid=513 sgid=513 fsgid=513 tty=(none) ses=1 comm=gst-plugin-scan exe=/usr/libexec/gstreamer-0.10/gst-plugin-scanner subj=xguest_u:xguest_r:xguest_t:s0 key=(null) Hash: applet.py,xguest_t,user_tmp_t,file,execute audit2allow #============= xguest_t ============== #!!!! This avc can be allowed using the boolean 'allow_xguest_exec_content' allow xguest_t user_tmp_t:file execute; audit2allow -R #============= xguest_t ============== #!!!! This avc can be allowed using the boolean 'allow_xguest_exec_content' allow xguest_t user_tmp_t:file execute;