Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Observe https://bugzilla.redhat.com/show_bug.cgi?id=2521586#c0. SELinux is preventing crun from 'ioctl' accesses on the directory /dev/shm. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that crun should be allowed ioctl 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 'crun' --raw | audit2allow -M my-crun # semodule -X 300 -i my-crun.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 crun Source Path crun 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 1 First Seen 2026-08-23 13:56:29 BST Last Seen 2026-08-23 13:56:29 BST Local ID 774ccacd-5c5a-43e5-8ebd-0ad5b6f6bd74 Raw Audit Messages type=AVC msg=audit(1787489789.15:651): avc: denied { ioctl } for pid=29513 comm="crun" path="/" 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: crun,boinc_t,container_file_t,dir,ioctl 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 crun from 'ioctl' 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:55> Looking for similar problems in bugzilla comment: Observe https://bugzilla.redhat.com/show_bug.cgi?id=2521586#c0. component: selinux-policy
Created attachment 2155359 [details] File: description
Created attachment 2155360 [details] File: os_info