SELinux is preventing ck-history (xdm_t) "search" to ./ConsoleKit (consolekit_var_run_t).

Antonio Olivares olivares14031 at yahoo.com
Tue Feb 12 00:54:26 UTC 2008


Dear all,

Setroubleshoot showed me the following:

Should I disregard them, or is ConsoleKit important to
the system.  

Summary:

SELinux is preventing ck-history (xdm_t) "search" to
./ConsoleKit
(consolekit_var_run_t).

Detailed Description:

SELinux denied access requested by ck-history. It is
not expected that this
access is required by ck-history 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:

Sometimes labeling problems can cause SELinux denials.
You could try to restore
the default system file context for ./ConsoleKit,

restorecon -v './ConsoleKit'

If this does not work, there is currently no automatic
way to allow this access.
Instead, 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:xdm_t:SystemLow-SystemHigh
Target Context               
system_u:object_r:consolekit_var_run_t
Target Objects                ./ConsoleKit [ dir ]
Source                        ck-history
Source Path                   /usr/bin/ck-history
Port                          <Unknown>
Host                          localhost
Source RPM Packages           ConsoleKit-0.2.7-1.fc9
Target RPM Packages           
Policy RPM                   
selinux-policy-3.2.7-1.fc9
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall_file
Host Name                     localhost
Platform                      Linux localhost
2.6.24.1-28.fc9 #1 SMP Sun Feb 10
                              17:27:37 EST 2008 i686
athlon
Alert Count                   12
First Seen                    Mon 11 Feb 2008 07:05:42
AM CST
Last Seen                     Mon 11 Feb 2008 02:35:06
PM CST
Local ID                     
3cef7e4a-b1dc-4c27-83e3-91eccbb14047
Line Numbers                  

Raw Audit Messages            

host=localhost type=AVC msg=audit(1202762106.60:13):
avc:  denied  { search } for  pid=2469
comm="ck-history" name="ConsoleKit" dev=dm-0
ino=3342348
scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023
tcontext=system_u:object_r:consolekit_var_run_t:s0
tclass=dir

host=localhost type=SYSCALL
msg=audit(1202762106.60:13): arch=40000003 syscall=5
success=no exit=-13 a0=8fd3608 a1=0 a2=1b6 a3=0
items=0 ppid=1 pid=2469 auid=4294967295 uid=42 gid=42
euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42
tty=(none) comm="ck-history" exe="/usr/bin/ck-history"
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)




TIA,

Antonio 


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs




More information about the fedora-selinux-list mailing list