| Summary: | SELinux is preventing /usr/libexec/gdm-session-worker from 'add_name' accesses on the directory .xsession-errors.XXPOI75V. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Old Uncle <old.uncle.z> |
| 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: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:0ccfd70414461eb296d37282798f0c9db312942a3ef6c5fcbb08d4c3808fe341 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-18 20:35:23 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 666620 *** |
SELinux is preventing /usr/libexec/gdm-session-worker from 'add_name' accesses on the directory .xsession-errors.XXPOI75V. ***** Plugin catchall_boolean (89.3 confidence) suggests ******************* If you want to enable polyinstantiated directory support. Then you must tell SELinux about this by enabling the 'allow_polyinstantiation' boolean. Do setsebool -P allow_polyinstantiation 1 ***** Plugin catchall (11.6 confidence) suggests *************************** If you believe that gdm-session-worker should be allowed add_name access on the .xsession-errors.XXPOI75V 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 gdm-session-wor /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:admin_home_t:s0 Target Objects .xsession-errors.XXPOI75V [ dir ] Source gdm-session-wor Source Path /usr/libexec/gdm-session-worker Port <Unknown> Host (removed) Source RPM Packages gdm-3.0.4-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-48.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.41.4-1.fc15.i686 #1 SMP Tue Nov 29 11:55:17 UTC 2011 i686 i686 Alert Count 1 First Seen Sat 17 Dec 2011 11:41:14 AM GET Last Seen Sat 17 Dec 2011 11:41:14 AM GET Local ID f9d52ba8-edd4-491d-97c6-687e84b183a1 Raw Audit Messages type=AVC msg=audit(1324107674.906:223): avc: denied { add_name } for pid=10558 comm="gdm-session-wor" name=".xsession-errors.XXPOI75V" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=dir type=SYSCALL msg=audit(1324107674.906:223): arch=i386 syscall=open success=no exit=EACCES a0=8c98e90 a1=80c2 a2=180 a3=1f items=0 ppid=10542 pid=10558 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=11 comm=gdm-session-wor exe=/usr/libexec/gdm-session-worker subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) Hash: gdm-session-wor,xdm_t,admin_home_t,dir,add_name audit2allow #============= xdm_t ============== #!!!! This avc can be allowed using the boolean 'allow_polyinstantiation' allow xdm_t admin_home_t:dir add_name; audit2allow -R #============= xdm_t ============== #!!!! This avc can be allowed using the boolean 'allow_polyinstantiation' allow xdm_t admin_home_t:dir add_name;