Device type proxy fails after upgrade to 6.9

Host: Ubuntu 20.04 Linux 5.4.0-205-generic
incus --version 6.9
Container: Alpine edge (3.20.0_alpha20231219)

devices:
  eth0:
    ipv4.address: 10.0.4.10
    name: eth0
    nictype: bridged
    parent: lxdbr0
    type: nic
  ws:
    connect: tcp:127.0.0.1:59997,59998,59999
    listen: tcp:185.216.xxx.xxx:59997,59998,59999
    type: proxy

185.216.xxx.xxx is public IP on Host.

This had worked prior to incus 6.9 update, though now instance is not starting:

Instance: xyz: Failed to start device "ws": Error occurred when starting proxy device: Error: Invalid argument - Failed setns to connector namespaces

The issue here is the 5.4 kernel which is very old and missing some APIs that we’re using.

You may want to install the HWE kernel which would fix that.

Incus 6.10 will also have a change to try to better handle those old kernels.