Closed rdoxenham closed 9 months ago
We identified that this is caused by the rke2-selinux %post install script in the RPM failing to create the required directories during Combustion. Therefore we worked around this with a simple fix in our image building tools https://github.com/suse-edge/edge-image-builder/pull/157. As this is seemingly specific to deployment during Combustion, I think we can close this.
Using the latest rke2-selinux (
rke2-selinux-0.17-1.slemicro.noarch
) RPM on SLE Micro 5.5, I am having problems starting RKE2. It seems that the SELinux policy is preventinginstall-cnis.sh
from running and hence pods cannot be started. In the rke2-server logs we see outputs such as this, which loops:Here's the rke2 configuration:
We can workaround this by using
ausearch
andaudit2allow
to figure out a policy:I've tested this and it allows RKE2+SELinux (with
selinux: true
) to work just fine.This might be related to https://github.com/rancher/rke2-selinux/issues/62