Bug 2521594

Summary: SELinux is preventing crun from 'mount' accesses on the filesystem /sys.
Product: [Fedora] Fedora Reporter: Mr Beedell, Roke Julian Lockhart <8ru2u4gz>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 44CC: 8ru2u4gz, dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:0aa3044df6df76e658dc62583afcfa728288b9f9d30aaa7ba8bcf8ace5d7a9b3;VARIANT_ID=kde;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Mr Beedell, Roke Julian Lockhart 2026-08-23 13:04:47 UTC
Description of problem:
Observe https://bugzilla.redhat.com/show_bug.cgi?id=2521586#c0.
SELinux is preventing crun from 'mount' accesses on the filesystem /sys.

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

If you believe that crun should be allowed mount access on the sys filesystem 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:sysfs_t:s0
Target Objects                /sys [ filesystem ]
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                      a19ab71c-bba2-4fc3-ad8d-fded6d498845

Raw Audit Messages
type=AVC msg=audit(1787489789.17:667): avc:  denied  { mount } for  pid=29513 comm="crun" name="/" dev="sysfs" ino=1 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=filesystem permissive=1


Hash: crun,boinc_t,sysfs_t,filesystem,mount

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 'mount' accesses on the filesystem /sys.
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:37> 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:04:49 UTC
Created attachment 2155367 [details]
File: description

Comment 2 Mr Beedell, Roke Julian Lockhart 2026-08-23 13:04:50 UTC
Created attachment 2155368 [details]
File: os_info