Bug 2521597

Summary: SELinux is preventing crun from 'relabelfrom' accesses on the filesystem .
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:0a722a9ead14b5572542d91d09b046262837b9cd027783648033d2ffaacc8c24;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:05:10 UTC
Description of problem:
Observe https://bugzilla.redhat.com/show_bug.cgi?id=2521586#c0.
SELinux is preventing crun from 'relabelfrom' accesses on the filesystem .

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

If you believe that crun should be allowed relabelfrom access on the  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:devpts_t:s0
Target Objects                 [ 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                      6a57db79-a57d-4c94-923e-91b3507c28ff

Raw Audit Messages
type=AVC msg=audit(1787489789.18:672): avc:  denied  { relabelfrom } for  pid=29513 comm="crun" scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:devpts_t:s0 tclass=filesystem permissive=1


Hash: crun,boinc_t,devpts_t,filesystem,relabelfrom

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 'relabelfrom' accesses on the filesystem .
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:25> 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:12 UTC
Created attachment 2155373 [details]
File: description

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