Re: K3s service not starting after go-lang version update in poky

Bruce Ashfield

On Mon, Jun 27, 2022 at 6:00 AM Kamil Dzieżyk <Kamil.Dziezyk@...> wrote:

Hello Bruce,

There is a problem with the k3s service starting when the Yocto image is built with the meta-virtualization master branch.

This issue might be related to the go-lang version(1.18) used to build the k3s.
After this patch was merged:
a warning pops up during the k3s build:
WARNING: k3s-v1.22.6+k3s1+git4262c6b91a43ef8411870f72ff8b8715949f90e2-r0 do_package_qa: QA Issue: k3s: ELF binary /usr/local/bin/k3s has relocations in .text [textrel]
That warning has actually been around for a while.

See k3s service start logs here:
I have tried a more recent version of k3s 1.22.8 with a small change and this version of the k3s starts successfully.
However, I did not manage to update all k3s build dependency sources from the recipes-container/k3s/
I have built the k3s with this change:

Could you update the k3s recipe on the master branch, to build a more recent version 1.23 or 1.24?
I have a 1.24 update already underway. So hopefully things will be
sorted out shortly.



Kamil Dzieżyk

- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Join to automatically receive all group messages.