Bug 2521622 - SELinux is preventing crun from using the 'transition' accesses on a process.
Summary: SELinux is preventing crun from using the 'transition' accesses on a process.
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:98dcca3f06f6700c648f9b85f85...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-23 13:08 UTC by Mr Beedell, Roke Julian Lockhart
Modified: 2026-08-23 13:08 UTC (History)
8 users (show)

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


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

Description Mr Beedell, Roke Julian Lockhart 2026-08-23 13:08:06 UTC
Description of problem:
Observe https://bugzilla.redhat.com/show_bug.cgi?id=2521586#c0.
SELinux is preventing crun from using the 'transition' accesses on a process.

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

If you believe that crun should be allowed transition access on processes labeled container_t 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:system_r:container_t:s0:c25,c392
Target Objects                /usr/local/bin/podman_hello_world [ process ]
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                      e1a52c91-9d6b-4149-a698-c4967c30417b

Raw Audit Messages
type=AVC msg=audit(1787489789.65:727): avc:  denied  { transition } for  pid=29513 comm="crun" path="/usr/local/bin/podman_hello_world" dev="overlay" ino=13564812 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:system_r:container_t:s0:c25,c392 tclass=process permissive=1


Hash: crun,boinc_t,container_t,process,transition

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 using the 'transition' accesses on a process.
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-13:57:38> 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:08:09 UTC
Created attachment 2155423 [details]
File: description

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


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