Bug 546048 - SELinux is preventing dbus-daemon (xdm_dbusd_t) "search" to ./gdm (xserver_log_t).
Summary: SELinux is preventing dbus-daemon (xdm_dbusd_t) "search" to ./gdm (xserver_lo...
Keywords:
Status: CLOSED DUPLICATE of bug 538428
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:ab0d51a36f8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-09 21:36 UTC by Jeremy Huddleston
Modified: 2010-01-05 03:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-09 21:54:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeremy Huddleston 2009-12-09 21:36:23 UTC
Summary:

SELinux is preventing dbus-daemon (xdm_dbusd_t) "search" to ./gdm
(xserver_log_t).

Detailed Description:

[dbus-daemon has a permissive type (xdm_dbusd_t). This access was not denied.]

SELinux denied access requested by dbus-daemon. It is not expected that this
access is required by dbus-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 ./gdm,

restorecon -v './gdm'

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 FAQ
(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 bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:xserver_log_t:s0
Target Objects                ./gdm [ dir ]
Source                        dbus-daemon
Source Path                   /bin/dbus-daemon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           dbus-1.2.6-1.fc10
Target RPM Packages           
Policy RPM                    selinux-policy-3.5.13-26.fc10
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall_file
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.27.5-117.fc10.x86_64 #1 SMP Tue Nov 18
                              11:58:53 EST 2008 x86_64 x86_64
Alert Count                   7
First Seen                    Mon 08 Dec 2008 09:03:46 PM PST
Last Seen                     Mon 08 Dec 2008 10:23:42 PM PST
Local ID                      eaaa1d25-cd51-4c59-a1dd-612ea54940cf
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1228803822.386:248): avc:  denied  { search } for  pid=14306 comm="dbus-daemon" name="gdm" dev=dm-0 ino=204915 scontext=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xserver_log_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1228803822.386:248): arch=c000003e syscall=2 success=yes exit=0 a0=7fcc0a27f0b0 a1=90800 a2=1 a3=1 items=0 ppid=14305 pid=14306 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm="dbus-daemon" exe="/bin/dbus-daemon" subj=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.5.13-26.fc10,catchall_file,dbus-daemon,xdm_dbusd_t,xserver_log_t,dir,search
audit2allow suggests:

#============= xdm_dbusd_t ==============
allow xdm_dbusd_t xserver_log_t:dir search;

Comment 1 Daniel Walsh 2009-12-09 21:54:33 UTC

*** This bug has been marked as a duplicate of bug 538428 ***


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