Bug 2417717 - SELinux is preventing blocking-2 from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Machine.
Summary: SELinux is preventing blocking-2 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:04c486b7fbbbbdd115d516b5fb5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-28 15:44 UTC by Davide Repetto
Modified: 2025-11-28 16:56 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-11-28 16:56:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.19 KB, text/plain)
2025-11-28 15:44 UTC, Davide Repetto
no flags Details
File: os_info (674 bytes, text/plain)
2025-11-28 15:44 UTC, Davide Repetto
no flags Details

Description Davide Repetto 2025-11-28 15:44:08 UTC
Description of problem:
SELinux is preventing blocking-2 from 'connectto' accesses on the unix_stream_socket /run/systemd/userdb/io.systemd.Machine.

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

Se si ritiene che a blocking-2 debba essere consentito l'accesso connectto su unix_stream_socket io.systemd.Machine per impostazione predefinita.
Then si dovrebbe segnalare il problema come bug.
È possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per ora eseguendo:
# ausearch -c 'blocking-2' --raw | audit2allow -M my-$MODULE_NOME
# semodule -X 300 -i mio-blocking2.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-2
Source Path                   blocking-2
Port                          <Sconosciuto>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-42.16-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.16-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
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                   5
First Seen                    2025-11-28 01:47:01 CET
Last Seen                     2025-11-28 02:10:58 CET
Local ID                      65d6d01b-f034-42e9-9f5e-18a3b4f1ef11

Raw Audit Messages
type=AVC msg=audit(1764292258.173:875): avc:  denied  { connectto } for  pid=263706 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=1


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

Version-Release number of selected component:
selinux-policy-targeted-42.16-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.Machine.
package:        selinux-policy-targeted-42.16-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.17.8-300.fc43.x86_64
component:      selinux-policy

Comment 1 Davide Repetto 2025-11-28 15:44:11 UTC
Created attachment 2116518 [details]
File: description

Comment 2 Davide Repetto 2025-11-28 15:44:12 UTC
Created attachment 2116519 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-11-28 16:56:38 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.