Closed eraserix closed 2 years ago
On Ubuntu 22.04, liblxc has version reports version 5.0.0~git2209-g5a7b9ce67-0ubuntu1. The "~git..." part breaks the version check in runtimeLiblxcVersionAtLeast(), it always returns false.
LXD has a copy of the same function with a fix for exactly this problem.
We should update this function and then get lxd to use it to avoid duplication.
On Ubuntu 22.04, liblxc has version reports version 5.0.0~git2209-g5a7b9ce67-0ubuntu1. The "~git..." part breaks the version check in runtimeLiblxcVersionAtLeast(), it always returns false.
LXD has a copy of the same function with a fix for exactly this problem.