Closed Klaas- closed 1 year ago
Hello! Thank you for the report. This update in el8 happened while we were working on changes for the same update in el9 (and other distros). However, it has not yet been made across the board for el8 distros, so the approach we took in resolving this involved requiring a version less than container-selinux-2:2.191.0-1
. I wrote some more details in https://github.com/k3s-io/k3s/issues/7307#issuecomment-1562078486, but this should be available now in the testing
channel with the latest install script that was just merged.
Hi @rancher-max I tested the latest k3s-selinux-1.3-9.el8.noarch.rpm as well. I'd guess you need to make it a stronger dependency (so that container-selinux does not get updated) or support the current rhel 8.8 version container-selinux-2:2.205.0-2.module+el8.8.0+18438+15d3aa65
ah I see you also released a k3s-selinux-1.3-10.el8.noarch.rpm -- I'll give it a try next week
As feedback k3s-selinux-1.3-1.el8.noarch works with container-selinux-2:2.205.0-2.module+el8.8.0+18438+15d3aa65.noarch, but I had to delete k3s-selinux, upgrading it was not enough.
The install script should handle most of that, but yeah you're right -- there's a chicken:egg problem between k3s-selinux and container-selinux during an upgrade if you're just pulling binaries. This is the section of the install script that handles that problem: https://github.com/k3s-io/k3s/blob/master/install.sh#L618-L626.
Hi, The current and testing versions create errors with container-selinux-2:2.205.0-2.module+el8.8.0+18438+15d3aa65.noarch
Tested versions: k3s-selinux-1.2-2.el8.noarch.rpm k3s-selinux-1.3-9.el8.noarch.rpm
Both show the same error