| Summary: | SELinux is preventing /usr/libexec/gdm-session-worker from 'write' accesses on the file .xsession-errors. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tim Hughes <thughes> |
| 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: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:2ff8299b10793838bc34d8eb73b4d9cb0de0d42048928e4e25395e29fff7a86c | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-31 11:09:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Not sure how got this mislabeling. Execute # restorecon -R -v /home should fix your issue. |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.9-1.fc16.x86_64 reason: SELinux is preventing /usr/libexec/gdm-session-worker from 'write' accesses on the file .xsession-errors. time: Mon 30 Jan 2012 11:56:32 AM GMT description: :SELinux is preventing /usr/libexec/gdm-session-worker from 'write' accesses on the file .xsession-errors. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that gdm-session-worker should be allowed write access on the .xsession-errors 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 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:home_root_t:s0 :Target Objects .xsession-errors [ file ] :Source gdm-session-wor :Source Path /usr/libexec/gdm-session-worker :Port <Unknown> :Host (removed) :Source RPM Packages gdm-3.2.1.1-6.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-46.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.1.9-1.fc16.x86_64 : #1 SMP Fri Jan 13 16:37:42 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen Mon 30 Jan 2012 11:20:48 AM GMT :Last Seen Mon 30 Jan 2012 11:20:48 AM GMT :Local ID 2ffb7efa-42ba-4a42-9a5d-718fe1a37b5e : :Raw Audit Messages :type=AVC msg=audit(1327922448.667:172): avc: denied { write } for pid=3230 comm="gdm-session-wor" name=".xsession-errors" dev=dm-2 ino=2752812 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:home_root_t:s0 tclass=file : : :type=SYSCALL msg=audit(1327922448.667:172): arch=x86_64 syscall=ftruncate success=yes exit=0 a0=d a1=0 a2=180 a3=1 items=0 ppid=3143 pid=3230 auid=1065 uid=1065 gid=100 euid=1065 suid=1065 fsuid=1065 egid=100 sgid=100 fsgid=100 tty=(none) ses=9 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,home_root_t,file,write : :audit2allow : :#============= xdm_t ============== :allow xdm_t home_root_t:file write; : :audit2allow -R : :#============= xdm_t ============== :allow xdm_t home_root_t:file write; :