Closed mgariepy closed 10 months ago
/var/snap/lxd
isn't an equivalent of /snap/lxd
, what path is used as the equivalent on your platform? It's probably something under /var/lib/snap
or the like.
You should be able to easily tell by looking at /proc/mounts
and seeing where the .snap files are mounted.
they were mounted in /var/lib/snapd/snap
Required information
Issue description
lxd-to-incus fail with
Steps to reproduce
https://github.com/lxc/incus/blob/main/cmd/lxd-to-incus/sources_snap.go#L14C1-L20
looking at this if the /snap/lxd directory doesn't exist it can't fall back to /var/snap/
workaround
creating the /snap/lxd dir pass the check and the lxd-to-incus can be launched sucessfully.