Bug 2412844 - SELinux is preventing blocking-1 from 'write' accesses on the sock_file io.systemd.DynamicUser.
Summary: SELinux is preventing blocking-1 from 'write' accesses on the sock_file io.sy...
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:aedfc2c917b5ea0350eee795397...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-05 19:25 UTC by Sam Varshavchik
Modified: 2025-11-06 09:20 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-11-06 09:20:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.04 KB, text/plain)
2025-11-05 19:25 UTC, Sam Varshavchik
no flags Details
File: os_info (647 bytes, text/plain)
2025-11-05 19:25 UTC, Sam Varshavchik
no flags Details

Description Sam Varshavchik 2025-11-05 19:25:08 UTC
Description of problem:
Downloaded a PDF file from a web site
SELinux is preventing blocking-1 from 'write' accesses on the sock_file io.systemd.DynamicUser.

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

If you believe that blocking-1 should be allowed write access on the io.systemd.DynamicUser sock_file 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:object_r:systemd_userdbd_runtime_t:s0
Target Objects                io.systemd.DynamicUser [ sock_file ]
Source                        blocking-1
Source Path                   blocking-1
Port                          <Unknown>
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.5-300.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Oct 23 15:35:13 UTC 2025
                              x86_64
Alert Count                   8
First Seen                    2025-11-05 14:13:16 EST
Last Seen                     2025-11-05 14:24:08 EST
Local ID                      c0101a8d-0484-491a-8957-c3af3cdf7bd9

Raw Audit Messages
type=AVC msg=audit(1762370648.516:1262): avc:  denied  { write } for  pid=342585 comm="blocking-1" name="io.systemd.DynamicUser" dev="tmpfs" ino=1740 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-1,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-1 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.5-300.fc43.x86_64
comment:        Downloaded a PDF file from a web site
component:      selinux-policy

Comment 1 Sam Varshavchik 2025-11-05 19:25:11 UTC
Created attachment 2112827 [details]
File: description

Comment 2 Sam Varshavchik 2025-11-05 19:25:12 UTC
Created attachment 2112828 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-11-06 09:20:56 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.