Bug 1249289 - SELinux is preventing sedispatch from 'connectto' accesses on the unix_stream_socket /run/dbus/system_bus_socket.
SELinux is preventing sedispatch from 'connectto' accesses on the unix_stream...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-08-01 06:25 EDT by Igor Gnatenko
Modified: 2016-07-07 05:32 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-07-07 05:32:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Igor Gnatenko 2015-08-01 06:25:58 EDT
Description of problem:
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.
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
Target Objects                /run/dbus/system_bus_socket [ unix_stream_socket ]
Source                        sedispatch
Source Path                   sedispatch
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-138.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.2.0-0.rc4.git4.1.fc24.x86_64 #1
                              SMP Fri Jul 31 16:32:22 UTC 2015 x86_64 x86_64
Alert Count                   10
First Seen                    2015-08-01 13:25:11 MSK
Last Seen                     2015-08-01 13:25:11 MSK
Local ID                      b03e3848-2eec-4b90-a025-ed0ccba3c47e

Raw Audit Messages
type=AVC msg=audit(1438424711.433:3168952): avc:  denied  { connectto } for  pid=867 comm="sedispatch" path="/run/dbus/system_bus_socket" scontext=system_u:system_r:audisp_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=unix_stream_socket permissive=1

Hash: sedispatch,audisp_t,init_t,unix_stream_socket,connectto

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.6.2
hashmarkername: setroubleshoot
kernel:         4.2.0-0.rc4.git4.1.fc24.x86_64
type:           libreport

Potential duplicate: bug 770635
Comment 1 Ömer Fadıl Usta 2015-10-26 23:12:30 EDT
Description of problem:
I'm not sure if it started to give this error before or after i enabled kdbus

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.6.3
hashmarkername: setroubleshoot
kernel:         4.3.0-0.rc6.git2.1.fc24.x86_64
type:           libreport
Comment 2 Jan Kurik 2016-02-24 08:30:39 EST
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
Comment 3 Igor Gnatenko 2016-07-07 05:32:04 EDT
kdbus issue,.

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