Bug 432827

Summary: SELinux is preventing /usr/sbin/gdm-binary (unconfined_t) "transition" to /etc/X11/xinit/Xsession (unconfined_t).
Product: Red Hat Enterprise Linux 5 Reporter: Scott Washburn <swashburnsr>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.1CC: dwalsh
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-26 21:57:04 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 Scott Washburn 2008-02-14 16:55:25 UTC
Description of problem:
Sigining on as root causes this problem.  Turning off SELinux is only way to fix it.

avc: denied { transition } for comm="gdm-binary" dev=dm-0 egid=0 euid=0
exe="/usr/sbin/gdm-binary" exit=-13 fsgid=0 fsuid=0 gid=0 items=0
path="/etc/X11/xinit/Xsession" pid=3888
scontext=system_u:system_r:unconfined_t:s0 sgid=0
subj=system_u:system_r:unconfined_t:s0 suid=0 tclass=process
tcontext=root:system_r:unconfined_t:s0-s0:c0.c1023 tty=(none) uid=0 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Scott Washburn 2008-02-14 17:39:07 UTC
Target Context:  root:system_r:unconfined_t:SystemLow-SystemHighTarget
Objects:  /etc/X11/xinit/Xsession [ process ]Affected RPM
Packages:  xorg-x11-xinit-1.0.2-13.el5 [target]Policy
RPM:  selinux-policy-2.4.6-106.el5_1.3Selinux Enabled:  TruePolicy Type:  targeted

Comment 2 Daniel Walsh 2008-02-14 20:14:29 UTC
THis looks like gdm is running as unconfined_t rather then gdm?

Did you tun gdm in a debugger?