Bug 2418293 - 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 DUPLICATE of bug 2408906
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...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-02 12:28 UTC by Robert Tweedy
Modified: 2025-12-03 16:36 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-12-03 16:36:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.12 KB, text/plain)
2025-12-02 12:28 UTC, Robert Tweedy
no flags Details
File: os_info (630 bytes, text/plain)
2025-12-02 12:28 UTC, Robert Tweedy
no flags Details

Description Robert Tweedy 2025-12-02 12:28: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.17-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.17-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.17.8-300.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri Nov 14 01:47:12 UTC 2025
                              x86_64
Alert Count                   31
First Seen                    2025-12-01 07:15:38 EST
Last Seen                     2025-12-02 07:22:20 EST
Local ID                      1fc2050d-2577-4d5c-bbad-f7aa05eaa12d

Raw Audit Messages
type=AVC msg=audit(1764678140.93:303): avc:  denied  { connectto } for  pid=8235 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.17-1.fc43.noarch

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

Comment 1 Robert Tweedy 2025-12-02 12:28:38 UTC
Created attachment 2117072 [details]
File: description

Comment 2 Robert Tweedy 2025-12-02 12:28:39 UTC
Created attachment 2117073 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-12-03 16:36:35 UTC

*** This bug has been marked as a duplicate of bug 2408906 ***


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