| Summary: | SELinux is preventing /usr/libexec/gdm-session-worker from read, append access on the None /export/home/fred/.xsession-errors. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fred Weigel <fred_weigel> |
| 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:493a7dd3627f17586bb5f229699cdba78fd4389639d736ed46bae8105b1ad997 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-01 09:22:25 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
You need to tell SELinux where your homedir is: # semanage fcontext -a -t home_root_t "/export" # semanage fcontext -a -e /home /export/home # restorecon -R -v /export |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.1-3.fc16.x86_64 reason: SELinux is preventing /usr/libexec/gdm-session-worker from read, append access on the None /export/home/fred/.xsession-errors. time: Tue 31 Jan 2012 09:57:44 PM EST description: :SELinux is preventing /usr/libexec/gdm-session-worker from read, append access on the None /export/home/fred/.xsession-errors. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that gdm-session-worker should be allowed read append access on the .xsession-errors <Unknown> 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:default_t:s0 :Target Objects /export/home/fred/.xsession-errors [ None ] :Source gdm-session-wor :Source Path /usr/libexec/gdm-session-worker :Port <Unknown> :Host (removed) :Source RPM Packages gdm-3.2.1.1-8.fc16.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-74.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.2.1-3.fc16.x86_64 #1 SMP Mon Jan 23 : 15:36:17 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen Mon 30 Jan 2012 09:56:14 PM EST :Last Seen Mon 30 Jan 2012 09:56:14 PM EST :Local ID 8891d3b3-f611-441e-939a-589bda1d28ee : :Raw Audit Messages :type=AVC msg=audit(1327978574.589:56): avc: denied { read append } for pid=1286 comm="gdm-session-wor" name=".xsession-errors" dev=dm-2 ino=5111817 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:default_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1327978574.589:56): arch=c000003e syscall=2 success=no exit=-13 a0=2248130 a1=442 a2=180 a3=1 items=0 ppid=1273 pid=1286 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 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,default_t,None,read,append : :audit2allow : : :audit2allow -R : :