Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container: fix cilium denial #621

Merged
merged 1 commit into from
Jun 21, 2023
Merged

Conversation

tormath1
Copy link
Contributor

Hello,

While testing Cilium CNI in a Kubernetes cluster, I noticed the following denials:

Jun 20 08:01:43 localhost audit[3480]: AVC avc:  denied  { open } for  pid=3480 comm="cilium-agent" scontext=system_u:system_r:spc_t:s0 tcontext=system_u:system_r:spc_t:s0 tclass=perf_event permissive=1
Jun 20 08:01:43 localhost audit[3480]: AVC avc:  denied  { kernel } for  pid=3480 comm="cilium-agent" scontext=system_u:system_r:spc_t:s0 tcontext=system_u:system_r:spc_t:s0 tclass=perf_event permissive=1
Jun 20 08:01:43 localhost audit[3480]: AVC avc:  denied  { cpu } for  pid=3480 comm="cilium-agent" scontext=system_u:system_r:spc_t:s0 tcontext=system_u:system_r:spc_t:s0 tclass=perf_event permissive=1
Jun 20 08:01:43 localhost audit[3480]: AVC avc:  denied  { read } for  pid=3480 comm="cilium-agent" scontext=system_u:system_r:spc_t:s0 tcontext=system_u:system_r:spc_t:s0 tclass=perf_event permissive=1

It has been seen with release 2.20221101 from Gentoo ebuilds on Flatcar operating system using Cilium 1.12.1 and 1.12.5

Signed-off-by: Mathieu Tortuyaux <[email protected]>
@tormath1 tormath1 mentioned this pull request Jun 21, 2023
3 tasks
@pebenito pebenito merged commit d4e64bb into SELinuxProject:main Jun 21, 2023
@tormath1 tormath1 deleted the tormath1/cilium branch June 22, 2023 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants