Bug 2077643 - SELinux is preventing pool from 'connectto' accesses on the unix_stream_socket /run/dbus/system_bus_socket.
Summary: SELinux is preventing pool from 'connectto' accesses on the unix_stream_socke...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 36
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d9577b16f53f8e1e9900fe26b1e...
: 2077642 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-21 19:28 UTC by Michael
Modified: 2022-05-02 19:43 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-36.8-1.fc36
Clone Of:
Environment:
Last Closed: 2022-05-02 19:43:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 1161 0 None open Allow nm-dispatcher list its configuration directory 2022-04-22 12:33:41 UTC

Description Michael 2022-04-21 19:28:52 UTC
Description of problem:
SELinux is preventing pool from 'connectto' accesses on the unix_stream_socket /run/dbus/system_bus_socket.

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

If you believe that pool 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:
# ausearch -c 'pool' --raw | audit2allow -M my-pool
# semodule -X 300 -i my-pool.pp

Additional Information:
Source Context                system_u:system_r:NetworkManager_dispatcher_tlp_t:
                              s0
Target Context                system_u:system_r:system_dbusd_t:s0-s0:c0.c1023
Target Objects                /run/dbus/system_bus_socket [ unix_stream_socket ]
Source                        pool
Source Path                   pool
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-36.7-1.fc36.noarch
Local Policy RPM              selinux-policy-targeted-36.7-1.fc36.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.16.16-200.fc35.x86_64 #1 SMP
                              PREEMPT Wed Mar 23 00:44:58 CET 2022 x86_64 x86_64
Alert Count                   1
First Seen                    2022-04-21 21:27:30 CEST
Last Seen                     2022-04-21 21:27:30 CEST
Local ID                      8360b6b1-551f-4e59-adb1-4cabfb48ffce

Raw Audit Messages
type=AVC msg=audit(1650569250.235:256): avc:  denied  { connectto } for  pid=1741 comm="pool" path="/run/dbus/system_bus_socket" scontext=system_u:system_r:NetworkManager_dispatcher_tlp_t:s0 tcontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tclass=unix_stream_socket permissive=1


Hash: pool,NetworkManager_dispatcher_tlp_t,system_dbusd_t,unix_stream_socket,connectto

Version-Release number of selected component:
selinux-policy-targeted-36.7-1.fc36.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.17.1
hashmarkername: setroubleshoot
kernel:         5.16.16-200.fc35.x86_64
type:           libreport

Comment 1 Zdenek Pytela 2022-04-22 12:55:36 UTC
*** Bug 2077642 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Update System 2022-04-27 08:00:46 UTC
FEDORA-2022-47789bbc9d has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-47789bbc9d

Comment 3 Fedora Update System 2022-04-28 05:11:09 UTC
FEDORA-2022-47789bbc9d has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-47789bbc9d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-47789bbc9d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-05-02 19:43:23 UTC
FEDORA-2022-47789bbc9d has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


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