Bug 131701

Summary: Can't login to X because dbus policy incorrect/incomplete
Product: [Fedora] Fedora Reporter: Leonard den Ottolander <leonard-rh-bugzilla>
Component: selinux-policy-strictAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
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: 2005-02-09 18:55:34 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:
Bug Depends On:    
Bug Blocks: 123268, 133652    

Description Leonard den Ottolander 2004-09-03 11:47:36 UTC
selinux-policy-strict-1.17.8-2

Login to X fails on dbus errors.

Sep  3 12:34:35 k6-joy dbus: avc:  denied  { send_msg } for 
scontext=system_u:system_r:initrc_t tcontext=system_u:system_r:dbusd_t
tclass=dbus 
Sep  3 12:34:35 k6-joy cups-config-daemon: 
Sep  3 12:34:36 k6-joy cups-config-daemon: ** (process:1922): WARNING
**: DbusConfigDaemon: An SELinux policy prevents this sender from
sending this message to this recipient (rejected message had interface
"org.freedesktop.DBus" member "Hello" error name "(unset)" destination
"org.freedesktop.DBus")
Sep  3 12:34:36 k6-joy cups-config-daemon: cups-config-daemon startup
succeeded
<snip>
Sep  3 12:34:47 k6-joy dbus: avc:  denied  { send_msg } for 
scontext=system_u:system_r:initrc_t tcontext=system_u:system_r:dbusd_t
tclass=dbus 
Sep  3 12:35:17 k6-joy last message repeated 6 times
Sep  3 12:35:18 k6-joy gdm(pam_unix)[2276]: session opened for user
leonard by (uid=0)
Sep  3 12:35:21 k6-joy kernel: audit(1094207721.614:0):
security_compute_sid:  invalid context user_u:user_r:dbusd_t for
scontext=user_u:user_r:user_t tcontext=system_u:object_r:dbusd_exec_t
tclass=process
Sep  3 12:35:22 k6-joy dbus: avc:  denied  { send_msg } for 
scontext=system_u:system_r:initrc_t tcontext=system_u:system_r:dbusd_t
tclass=dbus 
Sep  3 12:35:27 k6-joy dbus: avc:  denied  { send_msg } for 
scontext=system_u:system_r:initrc_t tcontext=system_u:system_r:dbusd_t
tclass=dbus 
Sep  3 12:35:28 k6-joy gdm(pam_unix)[2276]: session closed for user
leonard

Also compare attachment 103430 [details] which is attached to bug 130992.

Comment 1 Daniel Walsh 2004-09-09 18:00:21 UTC
selinux-policy-1.17.11-2 fixes a lot of problems with dbus.  Please
try it out.

Comment 2 Daniel Walsh 2005-02-09 18:55:34 UTC
Fixed in current release