Bug 785500

Summary: SELinux is preventing /usr/libexec/gdm-session-worker from read, append access on the None /home/mikhail/.xsession-errors.
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:c196c4acbefa0a910ca695ccf961d432460fb0f279db6ddb69afdac818e76628
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-30 12:12:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mikhail 2012-01-29 05:55:30 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.2-1.fc16.i686.PAE
reason:         SELinux is preventing /usr/libexec/gdm-session-worker from read, append access on the None /home/mikhail/.xsession-errors.
time:           Вс. 29 янв. 2012 11:55:20

description:
:SELinux is preventing /usr/libexec/gdm-session-worker from read, append access on the None /home/mikhail/.xsession-errors.
:
:*****  Plugin file (47.5 confidence) suggests  *******************************
:
:If you think this is caused by a badly mislabeled machine.
:Then you need to fully relabel.
:Do
:touch /.autorelabel; reboot
:
:*****  Plugin file (47.5 confidence) suggests  *******************************
:
:If you think this is caused by a badly mislabeled machine.
:Then you need to fully relabel.
:Do
:touch /.autorelabel; reboot
:
:*****  Plugin catchall (6.38 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:file_t:s0
:Target Objects                /home/mikhail/.xsession-errors [ None ]
:Source                        gdm-session-wor
:Source Path                   /usr/libexec/gdm-session-worker
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    <Unknown>
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.2-1.fc16.i686.PAE #1 SMP Thu Jan
:                              26 03:30:43 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    Вс. 29 янв. 2012 03:57:44
:Last Seen                     Вс. 29 янв. 2012 03:57:44
:Local ID                      1281f244-6b90-4b13-a877-9bb560189202
:
:Raw Audit Messages
:type=AVC msg=audit(1327787864.889:66): avc:  denied  { read append } for  pid=1294 comm="gdm-session-wor" name=".xsession-errors" dev=sda5 ino=9830924 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1327787864.889:66): arch=40000003 syscall=5 success=no exit=-13 a0=8f4d160 a1=442 a2=180 a3=8f4d148 items=0 ppid=1272 pid=1294 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,file_t,None,read,append
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-01-30 12:12:01 UTC

*** This bug has been marked as a duplicate of bug 785629 ***