| Summary: | SELinux is preventing /usr/bin/xauth from 'write' accesses on the directory auth-for-demus-Tt0K7y. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel Demus <daniel> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:612a5bb6a0e069f739ba4e7002c2259afa612ca6f48f139f7493e64a987d8cbe | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-05 07:51: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 710810 *** |
SELinux is preventing /usr/bin/xauth from 'write' accesses on the directory auth-for-demus-Tt0K7y. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that xauth should be allowed write access on the auth-for-demus-Tt0K7y 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 xauth /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:xauth_t:s0 Target Context unconfined_u:object_r:var_run_t:s0 Target Objects auth-for-demus-Tt0K7y [ dir ] Source xauth Source Path /usr/bin/xauth Port <Unknown> Host (removed) Source RPM Packages xorg-x11-xauth-1.0.2-9.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 10 First Seen Sun 05 Jun 2011 01:43:25 CEST Last Seen Sun 05 Jun 2011 01:43:43 CEST Local ID deb5621c-581a-467c-8f9e-6ef3a1b27c5b Raw Audit Messages type=AVC msg=audit(1307231023.983:89): avc: denied { write } for pid=2590 comm="xauth" name="auth-for-demus-Tt0K7y" dev=tmpfs ino=22113 scontext=unconfined_u:unconfined_r:xauth_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=dir type=SYSCALL msg=audit(1307231023.983:89): arch=x86_64 syscall=open success=no exit=EACCES a0=7fffdf7869a0 a1=c1 a2=180 a3=8 items=0 ppid=2584 pid=2590 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts0 ses=2 comm=xauth exe=/usr/bin/xauth subj=unconfined_u:unconfined_r:xauth_t:s0 key=(null) Hash: xauth,xauth_t,var_run_t,dir,write audit2allow #============= xauth_t ============== #!!!! The source type 'xauth_t' can write to a 'dir' of the following types: # xdm_var_run_t, admin_home_t, user_home_dir_t, tmp_t, user_tmp_t, nx_server_var_lib_t, xauth_tmp_t, user_home_t, var_lib_t allow xauth_t var_run_t:dir write; audit2allow -R #============= xauth_t ============== #!!!! The source type 'xauth_t' can write to a 'dir' of the following types: # xdm_var_run_t, admin_home_t, user_home_dir_t, tmp_t, user_tmp_t, nx_server_var_lib_t, xauth_tmp_t, user_home_t, var_lib_t allow xauth_t var_run_t:dir write;