Bug 2426982

Summary: SELinux is preventing blocking-1 from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Machine.
Product: [Fedora] Fedora Reporter: Paul Mansfield <paul-redhat>
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: dwalsh, jjanasek, lvrabec, mmalik, omosnacek, paul-redhat, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:7066b8289deed9ad9e556f857eb69fc55e6a03cac90fd5030350ef32c46d1c67;VARIANT_ID=cinnamon;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-22 20:29:42 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: os_info
none
File: description none

Description Paul Mansfield 2026-01-03 22:48:09 UTC
Description of problem:
I was accessing files in another user's home directory where I was granted access to read some photo files, and the Nemo thumbnailer process was reading the images to produce a preview in the file browser.
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                   1015
First Seen                    2025-12-26 19:57:11 GMT
Last Seen                     2026-01-03 22:44:09 GMT
Local ID                      853b56d7-7f1e-4798-aef3-4a719ed736cc

Raw Audit Messages
type=AVC msg=audit(1767480249.811:3891): avc:  denied  { connectto } for  pid=461738 comm="blocking-2" 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
type:           libreport
hashmarkername: setroubleshoot
reason:         SELinux is preventing blocking-1 from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Machine.
comment:        I was accessing files in another user's home directory where I was granted access to read some photo files, and the Nemo thumbnailer process was reading the images to produce a preview in the file browser.
package:        selinux-policy-targeted-42.19-1.fc43.noarch
component:      selinux-policy
kernel:         6.17.12-300.fc43.x86_64
component:      selinux-policy

Comment 1 Paul Mansfield 2026-01-03 22:48:11 UTC
Created attachment 2121005 [details]
File: os_info

Comment 2 Paul Mansfield 2026-01-03 22:48:12 UTC
Created attachment 2121006 [details]
File: description

Comment 3 jjanasek 2026-01-22 20:29:42 UTC

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