Bug 2412469

Summary: SELinux is preventing blocking-3 from 'write' accesses on the sock_file io.systemd.DynamicUser.
Product: [Fedora] Fedora Reporter: Hei <heitordrp>
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, heitordrp, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:fbb013f36d575cb76cea3f2501fb4d9d4409fe43031874ef3d5ce33c0c863203;VARIANT_ID=xfce;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-11-05 12:39:56 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 Hei 2025-11-05 12:32:30 UTC
Description of problem:
SELinux is preventing blocking-3 from 'write' accesses on the sock_file io.systemd.DynamicUser.

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

Se você acredita nisso blocking-3 deve ser permitido write acesso no io.systemd.DynamicUser sock_file por padrão.
Then você deve informar que este é um erro.
Você pode gerar um módulo de política local para permitir este acesso.
Do
permitir este acesso por agora executando:
# ausearch -c 'blocking-3' --raw | audit2allow -M my-blocking3
# semodule -X 300 -i my-blocking3.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                system_u:object_r:systemd_userdbd_runtime_t:s0
Target Objects                io.systemd.DynamicUser [ sock_file ]
Source                        blocking-3
Source Path                   blocking-3
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-42.14-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.14-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.17.6-300.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Oct 29 20:10:51 UTC 2025
                              x86_64
Alert Count                   32
First Seen                    2025-11-05 09:07:35 -03
Last Seen                     2025-11-05 09:31:23 -03
Local ID                      f3fd11c7-1bb9-40f5-9248-d6de1cfe0048

Raw Audit Messages
type=AVC msg=audit(1762345883.190:455): avc:  denied  { write } for  pid=116974 comm="blocking-1" name="io.systemd.DynamicUser" dev="tmpfs" ino=1482 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_userdbd_runtime_t:s0 tclass=sock_file permissive=0


Hash: blocking-3,thumb_t,systemd_userdbd_runtime_t,sock_file,write

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

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing blocking-3 from 'write' accesses on the sock_file io.systemd.DynamicUser.
package:        selinux-policy-targeted-42.14-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.17.6-300.fc43.x86_64
component:      selinux-policy

Comment 1 Hei 2025-11-05 12:32:33 UTC
Created attachment 2112770 [details]
File: description

Comment 2 Hei 2025-11-05 12:32:34 UTC
Created attachment 2112771 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-11-05 12:39:56 UTC

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