Bug 2521602 - SELinux is preventing exe from 'write' accesses on the directory /dev/shm.
Summary: SELinux is preventing exe from 'write' accesses on the directory /dev/shm.
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 44
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:66480241158b7c9696ef75d2459...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-23 13:05 UTC by Mr Beedell, Roke Julian Lockhart
Modified: 2026-08-23 13:05 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.84 KB, text/plain)
2026-08-23 13:05 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: os_info (712 bytes, text/plain)
2026-08-23 13:05 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details

Description Mr Beedell, Roke Julian Lockhart 2026-08-23 13:05:45 UTC
Description of problem:
Observe https://bugzilla.redhat.com/show_bug.cgi?id=2521586#c0.
SELinux is preventing exe from 'write' accesses on the directory /dev/shm.

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

If you believe that exe should be allowed write access on the shm directory 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 'exe' --raw | audit2allow -M my-exe
# semodule -X 300 -i my-exe.pp

Additional Information:
Source Context                system_u:system_r:boinc_t:s0
Target Context                system_u:object_r:container_file_t:s0:c25,c392
Target Objects                /dev/shm [ dir ]
Source                        exe
Source Path                   exe
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-44.6-1.fc44.noarch
Local Policy RPM              selinux-policy-targeted-44.6-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 7.1.9-200.fc44.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Aug 19 17:41:40 UTC 2026
                              x86_64
Alert Count                   38
First Seen                    2026-08-23 13:56:28 BST
Last Seen                     2026-08-23 13:56:29 BST
Local ID                      6a8dbe2f-7b1c-41d0-a402-58b460fe9994

Raw Audit Messages
type=AVC msg=audit(1787489789.19:709): avc:  denied  { write } for  pid=29513 comm="crun" name="/" dev="tmpfs" ino=1 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:container_file_t:s0:c25,c392 tclass=dir permissive=1


Hash: exe,boinc_t,container_file_t,dir,write

Version-Release number of selected component:
selinux-policy-targeted-44.6-1.fc44.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing exe from 'write' accesses on the directory /dev/shm.
package:        selinux-policy-targeted-44.6-1.fc44.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         7.1.9-200.fc44.x86_64
event_log:      2026-08-23-14:00:00> Looking for similar problems in bugzilla
comment:        Observe https://bugzilla.redhat.com/show_bug.cgi?id=2521586#c0.
component:      selinux-policy

Comment 1 Mr Beedell, Roke Julian Lockhart 2026-08-23 13:05:47 UTC
Created attachment 2155383 [details]
File: description

Comment 2 Mr Beedell, Roke Julian Lockhart 2026-08-23 13:05:48 UTC
Created attachment 2155384 [details]
File: os_info


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