Bug 407251 - SELinux seems to be reporint gdm has a leaked file descriptor
Summary: SELinux seems to be reporint gdm has a leaked file descriptor
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gdm
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 413401 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-01 11:57 UTC by Daniel Walsh
Modified: 2008-03-11 00:19 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-03-10 13:57:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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. ***


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