I’m in this very linker version problem. However, building an LXC didn’t work:
$ snapcraft cleanbuild
Creating snapcraft-chokingly-nonrioting-ceola
Error: Failed container creation: Create container: Create LXC container: Invalid devices: Detect root disk device: No root device could be found
Failed to create container: a new LXD container could not be created.
Refer to the documentation at https://linuxcontainers.org/lxd/getting-started-cli.
I use LXD everyday, so I’m positive it works in my machine. Note though that I don’t use the default storage for it, but a different disk:
$ lxc storage list
+---------+-------------+--------+--------------------+---------+
| NAME | DESCRIPTION | DRIVER | SOURCE | USED BY |
+---------+-------------+--------+--------------------+---------+
| default | | dir | /data/lxd-storage/ | 2 |
+---------+-------------+--------+--------------------+---------+
Any clues on how to make this work? Thanks!!