Bug 770635 - SELinux is preventing sedispatch from 'connectto' accesses on the unix_stream_socket /run/dbus/system_bus_socket.
Summary: SELinux is preventing sedispatch from 'connectto' accesses on the unix_stream...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2ca57db97fae5ec8ea5450f751e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-28 07:04 UTC by Andrey V. Henneberg
Modified: 2012-03-15 15:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-15 15:23:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrey V. Henneberg 2011-12-28 07:04:50 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.6-1.fc16.i686
reason:         SELinux is preventing sedispatch from 'connectto' accesses on the unix_stream_socket /run/dbus/system_bus_socket.
time:           Ср. 28 дек. 2011 14:04:18

description:
:SELinux is preventing sedispatch from 'connectto' accesses on the unix_stream_socket /run/dbus/system_bus_socket.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that sedispatch should be allowed connectto access on the system_bus_socket 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 sedispatch /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:audisp_t:s0
:Target Context                system_u:system_r:init_t:s0-s0:c0.c1023
:Target Objects                /run/dbus/system_bus_socket [ unix_stream_socket ]
:Source                        sedispatch
:Source Path                   sedispatch
:Port                          <Неизвестно>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-67.fc16
:Selinux Enabled               True
:Policy Type                   minimum
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.6-1.fc16.i686 #1
:                              SMP Wed Dec 21 23:18:01 UTC 2011 i686 i686
:Alert Count                   1
:First Seen                    Ср. 28 дек. 2011 20:55:40
:Last Seen                     Ср. 28 дек. 2011 20:55:40
:Local ID                      08291a1c-0ac8-45c6-ab0c-61582f84aab3
:
:Raw Audit Messages
:type=AVC msg=audit(1325084140.960:40): avc:  denied  { connectto } for  pid=812 comm="sedispatch" path="/run/dbus/system_bus_socket" scontext=system_u:system_r:audisp_t:s0 tcontext=system_u:system_r:init_t:s0-s0:c0.c1023 tclass=unix_stream_socket
:
:
:Hash: sedispatch,audisp_t,init_t,unix_stream_socket,connectto
:
:audit2allow
:
:#============= audisp_t ==============
:allow audisp_t init_t:unix_stream_socket connectto;
:
:audit2allow -R
:
:#============= audisp_t ==============
:allow audisp_t init_t:unix_stream_socket connectto;
:

Comment 1 Daniel Walsh 2011-12-29 18:02:42 UTC
This looks like you have dbus running under the wrong context


ps -eZ | grep init_t

Comment 2 Miroslav Grepl 2012-03-15 15:23:43 UTC
Please reopen if this still happens.


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