bluefin-dx ships with Incus, but by default the incus-agent binary is not fully working, in particular with VMs.
Entering a VM with incus exec gives the following error:
Error: websocket: bad handshake
The reason for this is, that the incus-agent binary, which is shipped with bluefin linux is not statically linked:
❯ file /usr/sbin/incus-agent
/usr/sbin/incus-agent: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=957004a18c107c93
a8e7252d0c563c03d4131721, for GNU/Linux 3.2.0, stripped
My current workaround is to apply a hotfix for /usr/sbin/incus-agent after every update:
ostree admin unlock --hotfix
wget https://github.com/lxc/incus/releases/download/v6.18.0/bin.linux.incus-agent.x86_64 -O /usr/sbin/incus-agent
chmod +x /usr/sbin/incus-agent
But this is not really a sustainable solution.
References:
bluefin-dx ships with Incus, but by default the
incus-agentbinary is not fully working, in particular with VMs.Entering a VM with
incus execgives the following error:The reason for this is, that the
incus-agentbinary, which is shipped with bluefin linux is not statically linked:My current workaround is to apply a hotfix for
/usr/sbin/incus-agentafter every update:But this is not really a sustainable solution.
References:
incus execregression with VMs in Debian packaging lxc/incus#2513 (comment)