Bug 2418073

Summary: SELinux is preventing blocking-2 from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Home.
Product: [Fedora] Fedora Reporter: Ashley Paul <ashley_paul_12345>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: ashley_paul_12345, dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---Keywords: SELinux
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:dc4f6dee05f38d2b074c3c48f91c6bf492f2ac5310655f4d4e14c556797491eb;VARIANT_ID=sway;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-12-03 16:36:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: description
none
File: os_info none

Description Ashley Paul 2025-12-01 18:35:04 UTC
Description of problem:
SELinux is preventing blocking-2 from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Home.

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

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

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                system_u:system_r:systemd_homed_t:s0
Target Objects                /run/systemd/userdb/io.systemd.Home [
                              unix_stream_socket ]
Source                        blocking-2
Source Path                   blocking-2
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                   20
First Seen                    2025-12-01 20:13:32 EET
Last Seen                     2025-12-01 20:29:08 EET
Local ID                      f684f1fe-26ff-47e9-8fc2-0e50bbbd53b2

Raw Audit Messages
type=AVC msg=audit(1764613748.380:537): avc:  denied  { connectto } for  pid=53046 comm="blocking-2" path="/run/systemd/userdb/io.systemd.Home" scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:system_r:systemd_homed_t:s0 tclass=unix_stream_socket permissive=0


Hash: blocking-2,thumb_t,systemd_homed_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
reason:         SELinux is preventing blocking-2 from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Home.
package:        selinux-policy-targeted-42.17-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.17.8-300.fc43.x86_64
component:      selinux-policy

Comment 1 Ashley Paul 2025-12-01 18:35:07 UTC
Created attachment 2116995 [details]
File: description

Comment 2 Ashley Paul 2025-12-01 18:35:08 UTC
Created attachment 2116996 [details]
File: os_info

Comment 3 Ashley Paul 2025-12-01 18:38:43 UTC
I think this might be related to this as they happen at the same time I open a folder of images/videos with no thumbnails: https://bugzilla.redhat.com/show_bug.cgi?id=2418072

Comment 4 Zdenek Pytela 2025-12-03 16:36:25 UTC

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