Bug 2417297

Summary: SELinux is preventing podman from using the nnp_transition, nosuid_transition access on a process.
Product: [Fedora] Fedora Reporter: Raman Gupta <rocketraman>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: dwalsh, lvrabec, mmalik, omosnacek, pkoncity, rocketraman, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2b25187f283883b566800b0d8c2515881f1a44292d281a4d269ceba32d827b22;VARIANT_ID=;
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: os_info
none
File: description none

Description Raman Gupta 2025-11-26 16:54:38 UTC
Description of problem:
SELinux is preventing podman from using the nnp_transition, nosuid_transition access on a process.

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

If you believe that podman should be allowed nnp_transition nosuid_transition access on processes labeled container_runtime_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 'podman' --raw | audit2allow -M my-podman
# semodule -X 300 -i my-podman.pp

Additional Information:
Source Context                system_u:system_r:unconfined_service_t:s0
Target Context                system_u:system_r:container_runtime_t:s0
Target Objects                Unknown [ process2 ]
Source                        podman
Source Path                   podman
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-42.16-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.16-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.17.8-300.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri Nov 14 01:47:12 UTC 2025
                              x86_64
Alert Count                   22
First Seen                    2025-11-21 19:56:44 EST
Last Seen                     2025-11-25 18:36:51 EST
Local ID                      207d4fdc-49e2-479f-bc87-3e2fdc83f303

Raw Audit Messages
type=AVC msg=audit(1764113811.410:17869): avc:  denied  { nnp_transition nosuid_transition } for  pid=1732880 comm="podman" scontext=system_u:system_r:unconfined_service_t:s0 tcontext=system_u:system_r:container_runtime_t:s0 tclass=process2 permissive=0


Hash: podman,unconfined_service_t,container_runtime_t,process2,nnp_transition,nosuid_transition

Version-Release number of selected component:
selinux-policy-targeted-42.16-1.fc43.noarch

Additional info:
reporter:       libreport-2.17.15
hashmarkername: setroubleshoot
kernel:         6.17.8-300.fc43.x86_64
reason:         SELinux is preventing podman from using the nnp_transition, nosuid_transition access on a process.
component:      selinux-policy
type:           libreport
package:        selinux-policy-targeted-42.16-1.fc43.noarch
component:      selinux-policy

Comment 1 Raman Gupta 2025-11-26 16:54:40 UTC
Created attachment 2116254 [details]
File: os_info

Comment 2 Raman Gupta 2025-11-26 16:54:42 UTC
Created attachment 2116255 [details]
File: description