Unable to build with lxd when using lxd with lvm pool.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
System version: ubuntu 18.04
snapcraft: 3.8(3440) and 3.9.2(3720)
When tring to build snaps with --use-lxd, the following error is shown:
/snap/snapcraft
key, self.__
Stopped
An error occurred with the instance when trying to start with 'LXD': Common start logic: No such file or directory: "/var/snap/
Ensure that 'LXD' is setup correctly and try again.
It seems that the directory is hardcoded toward the /var directory which is the default one I believe.
My lxd is setup with a lvm pool manually.