Bug 1176327
| Summary: | SELinux is preventing /usr/libexec/Xorg.bin from 'write' accesses on the directory /tmp. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | z.d <z.dolezal> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | bgvaughan, blazej.nowak, chechare_94, dominick.grift, dwalsh, henryju, jrimpo, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:56d4cba5333d30788fe84d68a4476c61a28f769a6e071c84db4922117b953b83 | ||
| Fixed In Version: | selinux-policy-3.13.1-105.fc21 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-01-30 23:54:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Should bumblebee_t be transitioning to xserver_t? *** Bug 1176779 has been marked as a duplicate of this bug. *** *** Bug 1171426 has been marked as a duplicate of this bug. *** commit 03f58844e96ec89e32eded1f385de6d203b9f9e8
Author: Miroslav Grepl <mgrepl>
Date: Tue Jan 6 11:30:12 2015 +0100
Label /usr/libexec/Xorg.bin as xserver_exec_t.
*** Bug 1175173 has been marked as a duplicate of this bug. *** Description of problem: optirun glxgears Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.17.8-300.fc21.x86_64 type: libreport selinux-policy-3.13.1-105.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-105.fc21 Package selinux-policy-3.13.1-105.fc21: * should fix your issue, * was pushed to the Fedora 21 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.13.1-105.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1337/selinux-policy-3.13.1-105.fc21 then log in and leave karma (feedback). selinux-policy-3.13.1-105.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: $ optirun CoolVLViewer-1.26.12/cool_vl_viewer [ 388.945292] [ERROR]Cannot access secondary GPU - error: X unresponsive after 10 seconds - aborting SELinux is preventing /usr/libexec/Xorg.bin from 'write' accesses on the directory /tmp. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that Xorg.bin should be allowed write access on the tmp directory 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 Xorg.bin /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:bumblebee_t:s0 Target Context system_u:object_r:tmp_t:s0 Target Objects /tmp [ dir ] Source Xorg.bin Source Path /usr/libexec/Xorg.bin Port <Unknown> Host (removed) Source RPM Packages xorg-x11-server-Xorg-1.16.2.901-1.fc21.x86_64 Target RPM Packages filesystem-3.2-28.fc21.x86_64 Policy RPM selinux-policy-3.13.1-103.fc21.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.17.6-300.fc21.x86_64 #1 SMP Mon Dec 8 22:29:32 UTC 2014 x86_64 x86_64 Alert Count 6 First Seen 2014-12-20 15:55:32 CET Last Seen 2014-12-20 15:55:42 CET Local ID 931e53d7-6eee-4960-af95-e10664e0eca9 Raw Audit Messages type=AVC msg=audit(1419087342.785:427): avc: denied { write } for pid=2515 comm="Xorg.bin" name="/" dev="tmpfs" ino=11599 scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir permissive=0 type=SYSCALL msg=audit(1419087342.785:427): arch=x86_64 syscall=open success=no exit=EACCES a0=7fff800a4770 a1=c1 a2=1a4 a3=8 items=0 ppid=659 pid=2515 auid=4294967295 uid=0 gid=1001 euid=0 suid=0 fsuid=0 egid=1001 sgid=1001 fsgid=1001 tty=(none) ses=4294967295 comm=Xorg.bin exe=/usr/libexec/Xorg.bin subj=system_u:system_r:bumblebee_t:s0 key=(null) Hash: Xorg.bin,bumblebee_t,tmp_t,dir,write Version-Release number of selected component: selinux-policy-3.13.1-103.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.17.6-300.fc21.x86_64 type: libreport