Bug 407251

Summary: SELinux seems to be reporint gdm has a leaked file descriptor
Product: [Fedora] Fedora Reporter: Daniel Walsh <dwalsh>
Component: gdmAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
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: 2008-03-10 13:57:56 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 Daniel Walsh 2007-12-01 11:57:19 UTC
Description of problem:

type=AVC msg=audit(1196509401.288:20): avc:  denied  { search } for  pid=2806
comm="dbus-daemon" name="gdm" dev=dm-0 ino=3211273
scontext=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023
tcontext=system_u:object_r:xdm_var_lib_t:s0 tclass=dir

Which would indicate SELinux needs this rule.

allow xdm_dbusd_t xdm_var_lib_t:dir search;

Which means the dbus-daemon being execed from gdm is search through /var/lib/gdm
 for something.  I am guessing this is a open file that gdm is using.  gdm seems
to work fine without this access.

rpm -q selinux-policy gdm
selinux-policy-3.2.1-1.fc9
gdm-2.21.2-0.2007.11.20.2.fc9

Comment 1 jmccann 2008-03-07 23:39:25 UTC
Are you still seeing this in rawhide?

Comment 2 jmccann 2008-03-07 23:40:44 UTC
*** Bug 413401 has been marked as a duplicate of this bug. ***