k3s-selinux icon indicating copy to clipboard operation
k3s-selinux copied to clipboard

Not compatible with SL Micro 6.0

Open rdoxenham opened this issue 5 months ago • 1 comments

The current shipped version of k3s-selinux that we pull during SUSE Edge Image Builder runs is not compatible with SL Micro 6.0 as it ships with a much newer version of container-selinux than is being allowed by the RPM:

Problem: nothing provides 'container-selinux < 2.191.0-1' needed by the to be installed k3s-selinux-1.5-1.slemicro.noarch
 Solution 1: do not install k3s-selinux-1.5-1.slemicro.noarch
 Solution 2: break k3s-selinux-1.5-1.slemicro.noarch by ignoring some of its dependencies

The max container-selinux version we ship in the k3s-selinux policy (https://github.com/k3s-io/k3s-selinux/blob/master/policy/slemicro/k3s-selinux.spec) specifies 2.191.0-1 but the version shipped with SL Micro 6.0 is 2.211.0.

We have already tested an RPM with this check removed, and it installs the module just fine on SL Micro 6.0.

rdoxenham avatar Sep 04 '24 18:09 rdoxenham