Bug 2548363 - SELinux is preventing /usr/lib/systemd/systemd-userwork from 'read' accesses on the sock_file io.systemd.NamespaceResource.
Summary: SELinux is preventing /usr/lib/systemd/systemd-userwork from 'read' accesses ...
Keywords:
Status: CLOSED DUPLICATE of bug 2541947
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 45
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4e451586d1f02eb70a561d8bc82...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-09 05:02 UTC by Bill
Modified: 2026-10-09 08:38 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-10-09 08:38:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.28 KB, text/plain)
2026-10-09 05:02 UTC, Bill
no flags Details
File: os_info (726 bytes, text/plain)
2026-10-09 05:02 UTC, Bill
no flags Details

Description Bill 2026-10-09 05:02:50 UTC
Description of problem:
Immediately after upgrade to fedora 45
SELinux is preventing /usr/lib/systemd/systemd-userwork from 'read' accesses on the sock_file io.systemd.NamespaceResource.

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

If you believe that systemd-userwork should be allowed read access on the io.systemd.NamespaceResource sock_file by default.
Then 
    You should report this as a bug.

    If you are certain this access is legitimate and not an intrusion attempt, you
    can generate a local policy module to allow it.
    Custom policy modules are not supported as they may weaken the system policy and expose the system to security vulnerabilities.
    
Do
# ausearch -c 'systemd-userwor' --raw | audit2allow -M my-systemduserwor
# semodule -X 300 -i my-systemduserwor.pp

Additional Information:
Source Context                system_u:system_r:systemd_userdbd_t:s0
Target Context                system_u:object_r:systemd_nsresourced_runtime_t:s0
Target Objects                io.systemd.NamespaceResource [ sock_file ]
Source                        systemd-userwor
Source Path                   /usr/lib/systemd/systemd-userwork
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-45.20-1.fc45.noarch
Local Policy RPM              selinux-policy-targeted-45.20-1.fc45.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 7.2.9-300.fc45.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Sat Oct 3 16:19:58 UTC 2026 x86_64
Alert Count                   151
First Seen                    2026-10-09 17:36:21 NZDT
Last Seen                     2026-10-09 17:59:18 NZDT
Local ID                      9bd6762d-463e-4000-9cdf-216182cf583c

Raw Audit Messages
type=AVC msg=audit(1791521958.658:778): avc:  denied  { read } for  pid=5416 comm="systemd-userwor" name="io.systemd.NamespaceResource" dev="tmpfs" ino=1148 scontext=system_u:system_r:systemd_userdbd_t:s0 tcontext=system_u:object_r:systemd_nsresourced_runtime_t:s0 tclass=sock_file permissive=0


Hash: systemd-userwor,systemd_userdbd_t,systemd_nsresourced_runtime_t,sock_file,read

Version-Release number of selected component:
selinux-policy-targeted-45.20-1.fc45.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing /usr/lib/systemd/systemd-userwork from 'read' accesses on the sock_file io.systemd.NamespaceResource.
package:        selinux-policy-targeted-45.20-1.fc45.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         7.2.9-300.fc45.x86_64
comment:        Immediately after upgrade to fedora 45
component:      selinux-policy

Comment 1 Bill 2026-10-09 05:02:52 UTC
Created attachment 2160491 [details]
File: description

Comment 2 Bill 2026-10-09 05:02:54 UTC
Created attachment 2160492 [details]
File: os_info

Comment 3 Zdenek Pytela 2026-10-09 08:38:48 UTC

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


Note You need to log in before you can comment on or make changes to this bug.