Bug 2401764

Summary: SELinux is preventing pasta.avx2 from 'search' accesses on the directory ns.
Product: [Fedora] Fedora Reporter: George Petasis <petasisg>
Component: passtAssignee: Stefano Brivio <sbrivio>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: dwalsh, lvrabec, mmalik, omosnacek, petasisg, pkoncity, sbrivio, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:3fb79e7f7f3e507c4ed63a84a71b8984e7652c9668cc507ea0b624e907f5aca1;VARIANT_ID=workstation;
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 George Petasis 2025-10-06 06:25:24 UTC
Description of problem:
Starting podman containers
SELinux is preventing pasta.avx2 from 'search' accesses on the directory ns.

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

If you believe that pasta.avx2 should be allowed search access on the ns directory 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 'pasta.avx2' --raw | audit2allow -M my-pastaavx2
# semodule -X 300 -i my-pastaavx2.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:pasta_t:s0-s0:c0.c1023
Target Context                system_u:system_r:container_t:s0:c378,c527
Target Objects                ns [ dir ]
Source                        pasta.avx2
Source Path                   pasta.avx2
Port                          <Άγνωστο>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-42.9-1.fc42.noarch
Local Policy RPM              
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.16.9-200.fc42.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Sep 25 18:05:50 UTC 2025
                              x86_64
Alert Count                   86
First Seen                    2025-10-06 09:23:11 EEST
Last Seen                     2025-10-06 09:24:36 EEST
Local ID                      991e7c84-eabf-44e0-bad0-363954eb16ee

Raw Audit Messages
type=AVC msg=audit(1759731876.859:1640): avc:  denied  { search } for  pid=33449 comm="pasta.avx2" name="ns" dev="proc" ino=156203 scontext=unconfined_u:unconfined_r:pasta_t:s0-s0:c0.c1023 tcontext=system_u:system_r:container_t:s0:c378,c527 tclass=dir permissive=0


Hash: pasta.avx2,pasta_t,container_t,dir,search

Version-Release number of selected component:
selinux-policy-targeted-42.9-1.fc42.noarch

Additional info:
reporter:       libreport-2.17.15
type:           libreport
comment:        Starting podman containers
hashmarkername: setroubleshoot
reason:         SELinux is preventing pasta.avx2 from 'search' accesses on the directory ns.
kernel:         6.16.9-200.fc42.x86_64
package:        selinux-policy-targeted-42.9-1.fc42.noarch
component:      selinux-policy
component:      selinux-policy

Comment 1 George Petasis 2025-10-06 06:25:27 UTC
Created attachment 2108747 [details]
File: os_info

Comment 2 George Petasis 2025-10-06 06:25:29 UTC
Created attachment 2108748 [details]
File: description