| Summary: | Selinux prevents steam big picture | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robin Hack <rhack> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-26 19:48:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
The alert tells you what to do. allow_execheap is dangerous and not something I would want to turn on. http://www.akkadia.org/drepper/selinux-mem.html Explains the memory protection. If you want to run this app you can turn the protections off. setsebool selinuxuser_execheap 1 And then turn it back on, when you are done setsebool selinuxuser_execheap 0 Or turn it on permanently. setsebool -P selinuxuser_execheap 1 |
Description of problem: Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Install steam 2. Log in steam account 3. Run Big Picture Actual results: Selinux denial Expected results: No selinux denial? :) Additional info: SELinux is preventing /home/baduser/.local/share/Steam/ubuntu12_32/steam from using the execheap access on a process. ***** Plugin allow_execheap (53.1 confidence) suggests ******************** If you do not think /home/baduser/.local/share/Steam/ubuntu12_32/steam should need to map heap memory that is both writable and executable. Then you need to report a bug. This is a potentially dangerous access. Do contact your security administrator and report this issue. ***** Plugin catchall_boolean (42.6 confidence) suggests ****************** If you want to allow selinuxuser to execheap Then you must tell SELinux about this by enabling the 'selinuxuser_execheap' boolean. You can read 'None' man page for more details. Do setsebool -P selinuxuser_execheap 1 ***** Plugin catchall (5.76 confidence) suggests ************************** If you believe that steam should be allowed execheap access on processes labeled unconfined_t 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 steam /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Target Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Target Objects [ process ] Source steam Source Path /home/baduser/.local/share/Steam/ubuntu12_32/steam Port <Unknown> Host unused-4-194.brq.redhat.com Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.12.1-90.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name unused-4-194.brq.redhat.com Platform Linux unused-4-194.brq.redhat.com 3.11.9-300.fc20.x86_64 #1 SMP Wed Nov 20 22:23:25 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-11-26 13:41:14 CET Last Seen 2013-11-26 13:41:14 CET Local ID bfbd191a-11ac-4077-bc61-0a61263b1f0b Raw Audit Messages type=AVC msg=audit(1385469674.366:637): avc: denied { execheap } for pid=6389 comm="steam" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process type=SYSCALL msg=audit(1385469674.366:637): arch=i386 syscall=capget success=no exit=EACCES a0=c2c6000 a1=c000 a2=7 a3=ffb4210c items=0 ppid=4827 pid=6389 auid=20787 uid=20787 gid=20787 euid=20787 suid=20787 fsuid=20787 egid=20787 sgid=20787 fsgid=20787 ses=1 tty=(none) comm=steam exe=/home/baduser/.local/share/Steam/ubuntu12_32/steam subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) Hash: steam,unconfined_t,unconfined_t,process,execheap