Bug 540170 (consolekit_udev) - SELinux is preventing ck-get-x11-serv (consolekit_t) "connectto" unconfined_notrans_t.
Summary: SELinux is preventing ck-get-x11-serv (consolekit_t) "connectto" unconfined_n...
Keywords:
Status: CLOSED DUPLICATE of bug 538428
Alias: consolekit_udev
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:1ac73cb7698...
: 540197 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-22 16:40 UTC by Don Novak
Modified: 2009-11-23 15:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-23 15:44:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Don Novak 2009-11-22 16:40:55 UTC
Summary:

SELinux is preventing ck-get-x11-serv (consolekit_t) "connectto"
unconfined_notrans_t.

Detailed Description:

[ck-get-x11-serv has a permissive type (consolekit_t). This access was not
denied.]

SELinux denied access requested by ck-get-x11-serv. It is not expected that this
access is required by ck-get-x11-serv and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                system_u:system_r:consolekit_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:unconfined_notrans_t:s0-
                              s0:c0.c1023
Target Objects                002F746D702F2E5831312D756E69782F5831 [
                              unix_stream_socket ]
Source                        ck-get-x11-serv
Source Path                   /usr/libexec/ck-get-x11-server-pid
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           ConsoleKit-x11-0.3.0-8.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-82.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.30.5-43.fc11.x86_64 #1 SMP Thu Aug 27 21:39:52
                              EDT 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Sat 26 Sep 2009 12:44:25 PM CDT
Last Seen                     Sat 26 Sep 2009 12:44:25 PM CDT
Local ID                      bd214b8c-b461-45eb-905e-78c52dda9ba8
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1253987065.990:25539): avc:  denied  { connectto } for  pid=30391 comm="ck-get-x11-serv" path=002F746D702F2E5831312D756E69782F5831 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_notrans_t:s0-s0:c0.c1023 tclass=unix_stream_socket

node=(removed) type=SYSCALL msg=audit(1253987065.990:25539): arch=c000003e syscall=42 success=yes exit=0 a0=3 a1=7fff874278f0 a2=14 a3=7fff874278f3 items=0 ppid=30390 pid=30391 auid=4294967295 uid=501 gid=501 euid=501 suid=501 fsuid=501 egid=501 sgid=501 fsgid=501 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-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.12-82.fc11,catchall,ck-get-x11-serv,consolekit_t,unconfined_notrans_t,unix_stream_socket,connectto
audit2allow suggests:

#============= consolekit_t ==============
allow consolekit_t unconfined_notrans_t:unix_stream_socket connectto;

Comment 1 Daniel Walsh 2009-11-23 15:44:27 UTC

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

Comment 2 Daniel Walsh 2009-11-23 15:45:08 UTC
*** Bug 540197 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.