Am 28.05.2022 um 12:35 schrieb Marc Balmer <marc@msys.ch>:

After the announcement that the Kubic project is in a wind-down process, I shifted my interest to MicroOS.

I installed from an ISO image and did a transactional-update and rebootet.

Next step was to install k3s using transactional-update pkg in k3s which installed k3s.

When starting k3s server, either manually or via systemctl, however, k3s segfaults:

...
INFO[0000] To join node to cluster: k3s agent -s https://172.16.18.142:6443 -t ${NODE_TOKEN}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x562c36fa6d1c]

goroutine 1 [running]:
reflect.mapiternext(0xc0002348d0?)
/usr/lib64/go/1.18/src/runtime/map.go:1378 +0x19
github.com/modern-go/reflect2.(*UnsafeMapIterator).UnsafeNext(0x9?)
...

(The actual error message is a lot longer).

What am I missing or doing wrong here?


FWIW, this installs k3s 1.22.3 with k3s in /usr/bin.  When I install k3s directly from get.k3s.io using the curl method described on their website, I get a newer version 1.23.x which installs into /usr/local/bin and which works.

I would prefer the transactional-update route, though...