Bug 496176

Summary: SELinux is preventing ck-get-x11-serv (consolekit_t) "/various/" xdm_var_run_t
Product: [Fedora] Fedora Reporter: Allen Kistler <ackistler>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, jkubin, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-17 12:49:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Allen Kistler 2009-04-17 00:42:03 UTC
Description of problem:
Missing type enforcement allow rule results in AVC denial records when X starts.

Version-Release number of selected component (if applicable):
selinux-policy-3.6.12-4.fc11.noarch

How reproducible:
Always

Steps to Reproduce:
1. Boot
2. Look in the audit log
  
Actual results:
AVC denial records

Expected results:
No denial records

Additional info:
type=AVC msg=audit(1239928416.810:12): avc:  denied  { search } for  pid=2701 comm="ck-get-x11-serv" name="gdm" dev=dm-3 ino=188622 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_var_run_t:s0 tclass=dir

type=AVC msg=audit(1239928416.810:12): avc:  denied  { read } for  pid=2701 comm="ck-get-x11-serv" name="database" dev=dm-3 ino=188644 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_var_run_t:s0 tclass=file

type=AVC msg=audit(1239928416.810:13): avc:  denied  { open } for  pid=2701 comm="ck-get-x11-serv" name="database" dev=dm-3 ino=188644 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_var_run_t:s0 tclass=file

type=AVC msg=audit(1239928416.810:14): avc:  denied  { getattr } for  pid=2701 comm="ck-get-x11-serv" path="/var/run/gdm/auth-for-gdm-3ft4kv/database" dev=dm-3 ino=188644 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_var_run_t:s0 tclass=file

Comment 1 Daniel Walsh 2009-04-17 12:49:59 UTC
Fixed in selinux-policy-3.6.12-5.fc11