Bug 714143 - SELinux is preventing dbus-daemon from 'connectto' accesses on the unix_stream_socket /var/lib/likewise/.lsassd.
Summary: SELinux is preventing dbus-daemon from 'connectto' accesses on the unix_strea...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:fe3068ca2ab...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-17 12:59 UTC by numa.roger
Modified: 2011-10-07 14:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-07 14:28:35 UTC
Type: ---


Attachments (Terms of Use)

Description numa.roger 2011-06-17 12:59:11 UTC
SELinux is preventing dbus-daemon from 'connectto' accesses on the unix_stream_socket /var/lib/likewise/.lsassd.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that dbus-daemon should be allowed connectto access on the .lsassd unix_stream_socket by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep dbus-daemon /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:system_dbusd_t:s0-s0:c0.c1023
Target Context                system_u:system_r:initrc_t:s0
Target Objects                /var/lib/likewise/.lsassd [ unix_stream_socket ]
Source                        dbus-daemon
Source Path                   dbus-daemon
Port                          <Inconnu>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-26.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.7-30.fc15.x86_64 #1 SMP
                              Fri May 27 05:15:53 UTC 2011 x86_64 x86_64
Alert Count                   25
First Seen                    mar. 07 juin 2011 16:46:58 CEST
Last Seen                     ven. 17 juin 2011 14:14:55 CEST
Local ID                      d38624dc-59c8-4973-b15c-74d4510d3695

Raw Audit Messages
type=AVC msg=audit(1308312895.842:67): avc:  denied  { connectto } for  pid=909 comm="dbus-daemon" path="/var/lib/likewise/.lsassd" scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:initrc_t:s0 tclass=unix_stream_socket


Hash: dbus-daemon,system_dbusd_t,initrc_t,unix_stream_socket,connectto

audit2allow

#============= system_dbusd_t ==============
allow system_dbusd_t initrc_t:unix_stream_socket connectto;

audit2allow -R

#============= system_dbusd_t ==============
allow system_dbusd_t initrc_t:unix_stream_socket connectto;

Comment 1 Dominick Grift 2011-06-17 13:51:08 UTC
Does likewise run in its own domain? ps auxZ | grep likewise

Comment 2 Daniel Walsh 2011-06-17 17:39:56 UTC
/usr/sbin/lsassd	--	system_u:object_r:lsassd_exec_t:s0


Which according to out policy would expect this file to be in /var/lib/likewise-open?

Comment 3 Miroslav Grepl 2011-07-01 09:10:30 UTC
Where is lsassd located in your case?


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