Bug 2401764 - SELinux is preventing pasta.avx2 from 'search' accesses on the directory ns.
Summary: SELinux is preventing pasta.avx2 from 'search' accesses on the directory ns.
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: passt
Version: 42
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stefano Brivio
QA Contact:
URL:
Whiteboard: abrt_hash:3fb79e7f7f3e507c4ed63a84a71...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-06 06:25 UTC by George Petasis
Modified: 2025-10-13 15:08 UTC (History)
9 users (show)

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


Attachments (Terms of Use)
File: os_info (726 bytes, text/plain)
2025-10-06 06:25 UTC, George Petasis
no flags Details
File: description (1.89 KB, text/plain)
2025-10-06 06:25 UTC, George Petasis
no flags Details

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


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