Bug 2417297 - SELinux is preventing podman from using the nnp_transition, nosuid_transition access on a process.
Summary: SELinux is preventing podman from using the nnp_transition, nosuid_transition...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 43
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2b25187f283883b566800b0d8c2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-26 16:54 UTC by Raman Gupta
Modified: 2025-11-26 16:54 UTC (History)
8 users (show)

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


Attachments (Terms of Use)
File: os_info (630 bytes, text/plain)
2025-11-26 16:54 UTC, Raman Gupta
no flags Details
File: description (2.01 KB, text/plain)
2025-11-26 16:54 UTC, Raman Gupta
no flags Details

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


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