Bug 797534

Summary: SELinux is preventing /usr/libexec/ck-get-x11-server-pid from 'connectto' accesses on the None @/tmp/.X11-unix/X0.
Product: [Fedora] Fedora Reporter: Horst H. von Brand <vonbrand>
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: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:8ebef5eca3e6ac75f9bcf124d1b391504a2a0ae5810d8561bb8ef46b660b136b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-27 12:00:57 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 Horst H. von Brand 2012-02-26 15:58:45 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.7-1.fc16.x86_64
reason:         SELinux is preventing /usr/libexec/ck-get-x11-server-pid from 'connectto' accesses on the None @/tmp/.X11-unix/X0.
time:           Sun 26 Feb 2012 12:58:30 PM CLST

description:
:SELinux is preventing /usr/libexec/ck-get-x11-server-pid from 'connectto' accesses on the None @/tmp/.X11-unix/X0.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that ck-get-x11-server-pid should be allowed connectto access on the X0 <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 ck-get-x11-serv /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:consolekit_t:s0
:Target Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
:Target Objects                @/tmp/.X11-unix/X0 [ None ]
:Source                        ck-get-x11-serv
:Source Path                   /usr/libexec/ck-get-x11-server-pid
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           ConsoleKit-x11-0.4.5-1.fc15.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.7-1.fc16.x86_64 #1
:                              SMP Tue Feb 21 01:40:47 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Sun 26 Feb 2012 12:49:41 PM CLST
:Last Seen                     Sun 26 Feb 2012 12:49:41 PM CLST
:Local ID                      79be345f-66fc-480a-ac75-bda39f512df1
:
:Raw Audit Messages
:type=AVC msg=audit(1330271381.674:128): avc:  denied  { connectto } for  pid=1343 comm="ck-get-x11-serv" path=002F746D702F2E5831312D756E69782F5830 scontext=system_u:system_r:consolekit_t:s0 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tclass=unix_stream_socketnode=(removed) type=SYSCALL msg=audit(1330271381.674:128): arch=c000003e syscall=42 success=no exit=-13 a0=3 a1=7fff838599f0 a2=14 a3=7fff838596f0 items=0 ppid=1340 pid=1343 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ck-get-x11-serv" exe="/usr/libexec/ck-get-x11-server-pid" subj=system_u:system_r:consolekit_t:s0 key=(null)
:
:
:Hash: ck-get-x11-serv,consolekit_t,xdm_t,None,connectto
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-27 12:00:57 UTC

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