Bug 2427052 - SELinux is preventing blocking-1 from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Machine.
Summary: SELinux is preventing blocking-1 from 'connectto' accesses on the unix_stream...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 43
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7066b8289deed9ad9e556f857eb...
: 2425965 2426756 2426982 2429556 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-04 20:54 UTC by Damian Brown
Modified: 2026-01-27 04:53 UTC (History)
11 users (show)

Fixed In Version: selinux-policy-42.22-1.fc43
Clone Of:
Environment:
Last Closed: 2026-01-26 00:49:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.13 KB, text/plain)
2026-01-04 20:54 UTC, Damian Brown
no flags Details
File: os_info (647 bytes, text/plain)
2026-01-04 20:54 UTC, Damian Brown
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 3034 0 None open Allow thumb_t stream connect to systemd-machined 2026-01-23 15:42:06 UTC

Description Damian Brown 2026-01-04 20:54:35 UTC
Description of problem:
SELinux is preventing blocking-1 from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Machine.

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

If you believe that blocking-1 should be allowed connectto access on the io.systemd.Machine 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 'blocking-1' --raw | audit2allow -M my-blocking1
# semodule -X 300 -i my-blocking1.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                system_u:system_r:systemd_machined_t:s0
Target Objects                /run/systemd/userdb/io.systemd.Machine [
                              unix_stream_socket ]
Source                        blocking-1
Source Path                   blocking-1
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-42.19-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.19-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.17.12-300.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Sat Dec 13 05:06:24 UTC 2025
                              x86_64
Alert Count                   434
First Seen                    2025-11-03 10:08:38 GMT
Last Seen                     2026-01-04 20:53:09 GMT
Local ID                      5186b44f-8b3d-4f3f-aecd-f73ea1535345

Raw Audit Messages
type=AVC msg=audit(1767559989.422:1092): avc:  denied  { connectto } for  pid=244942 comm="blocking-1" path="/run/systemd/userdb/io.systemd.Machine" scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:system_r:systemd_machined_t:s0 tclass=unix_stream_socket permissive=0


Hash: blocking-1,thumb_t,systemd_machined_t,unix_stream_socket,connectto

Version-Release number of selected component:
selinux-policy-targeted-42.19-1.fc43.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing blocking-1 from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Machine.
package:        selinux-policy-targeted-42.19-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.17.12-300.fc43.x86_64
component:      selinux-policy

Comment 1 Damian Brown 2026-01-04 20:54:38 UTC
Created attachment 2121073 [details]
File: description

Comment 2 Damian Brown 2026-01-04 20:54:39 UTC
Created attachment 2121074 [details]
File: os_info

Comment 3 jjanasek 2026-01-22 20:28:03 UTC
*** Bug 2429556 has been marked as a duplicate of this bug. ***

Comment 4 jjanasek 2026-01-22 20:29:42 UTC
*** Bug 2426982 has been marked as a duplicate of this bug. ***

Comment 5 Zdenek Pytela 2026-01-23 15:38:50 UTC
*** Bug 2426756 has been marked as a duplicate of this bug. ***

Comment 6 Zdenek Pytela 2026-01-23 15:39:07 UTC
*** Bug 2425965 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2026-01-24 01:26:16 UTC
FEDORA-2026-db268749be (selinux-policy-42.22-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-db268749be

Comment 8 Fedora Update System 2026-01-25 01:49:44 UTC
FEDORA-2026-db268749be has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-db268749be`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-db268749be

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

Comment 9 Fedora Update System 2026-01-26 00:49:45 UTC
FEDORA-2026-db268749be (selinux-policy-42.22-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-01-27 04:53:03 UTC
FEDORA-2026-db268749be (selinux-policy-42.22-1.fc43) has been pushed to the Fedora 43 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.