Flatcar
Flatcar copied to clipboard
SELinux denials when using Cilium 1.17.3 (current latest) with Flatcar
Description
When updating Kubernetes version in Flatcar test's suite, I tried to bump Cilium CNI version from 1.12.5 to 1.17.3 but it triggered a denial:
avc: denied { prog_load } for pid=3545 comm="cilium-operator" scontext=system_u:system_r:container_t:s0:c117,c357 tcontext=system_u:system_r:container_t:s0:c117,c357 tclass=bpf permissive=0
Impact
Test suite is failing but not sure yet how it impacts actual usage of Cilium / Kubernetes / Flatcar.
Environment and steps to reproduce
- Set-up: Deploy a Kubernetes cluster
- Task: Deploy cilium CNI >= 1.17.3 (maybe lower version are affected as well)
- See the denial (note: you might need to remove the default audit-rules)
Expected behavior
No denial.
Additional information
I did not check carefully yet, but it might be something we could fix upstream.