Bug 233759 - SELinux is preventing /usr/sbin/console-kit-daemon (consolekit_t) "search" to lib (var_lib_t).
SELinux is preventing /usr/sbin/console-kit-daemon (consolekit_t) "search" to...
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-24 14:38 EDT by Christopher Aillon
Modified: 2007-11-30 17:12 EST (History)
2 users (show)

See Also:
Fixed In Version: Current
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-08-22 10:17:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Christopher Aillon 2007-03-24 14:38:18 EDT
Summary
    SELinux is preventing /usr/sbin/console-kit-daemon (consolekit_t) "search"
    to lib (var_lib_t).

Detailed Description
    SELinux denied access requested by /usr/sbin/console-kit-daemon. It is not
    expected that this access is required by /usr/sbin/console-kit-daemon 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 lib, restorecon -v lib 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
    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 http://bugzilla.redhat.com/bugzilla/enter_bug.cgi
    against this package.

Additional Information        

Source Context                system_u:system_r:consolekit_t
Target Context                system_u:object_r:var_lib_t
Target Objects                lib [ dir ]
Affected RPM Packages         ConsoleKit-0.2.0-2.fc7
                              [application]filesystem-2.4.3-1.fc7 [target]
Policy RPM                    selinux-policy-2.5.8-8.fc7
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   plugins.catchall_file
Host Name                     mithrandir.roheryn.net
Platform                      Linux mithrandir.roheryn.net 2.6.20-1.2999.fc7 #1
                              SMP Mon Mar 19 20:20:42 EDT 2007 i686 i686
Alert Count                   2
First Seen                    Tue 20 Mar 2007 11:53:33 AM EDT
Last Seen                     Tue 20 Mar 2007 12:50:29 PM EDT
Local ID                      5716d596-d48d-4055-81de-38837dabb6f0
Line Numbers                  

Raw Audit Messages            

avc: denied { search } for comm="console-kit-dae" dev=dm-0 egid=0 euid=0
exe="/usr/sbin/console-kit-daemon" exit=-13 fsgid=0 fsuid=0 gid=0 items=0
name="lib" pid=2436 scontext=system_u:system_r:consolekit_t:s0 sgid=0
subj=system_u:system_r:consolekit_t:s0 suid=0 tclass=dir
tcontext=system_u:object_r:var_lib_t:s0 tty=(none) uid=0
Comment 1 Daniel Walsh 2007-03-26 13:27:18 EDT
Should be fixed in selinux-policy-2.5.10-2.fc7
Comment 2 Matthew Miller 2007-04-10 12:34:14 EDT
Fedora 7 test bugs should be filed against "devel", not against test1/2/3. This
isn't obvious, I know. Moving this report so it isn't lost.

This is a bulk message -- I apologize if this was actually meant to be targeted
against a different release. If so, please fix or let me know. Thanks.
Comment 3 Daniel Walsh 2007-08-22 10:17:08 EDT
Should be fixed in the current release

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