Cannot run spread hello world on all-snaps image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Low
|
Unassigned |
Bug Description
I'm running the all-snaps-pc image in kvm. I've installed spread using devmode, and I'm attempting to run the hello world example defined here:
https:/
I get:
nuclearbob@
2016/11/03 17:13:39 Allocating lxd:ubuntu-16.04...
2016/11/03 17:13:39 Cannot allocate lxd:ubuntu-16.04: cannot launch lxd container: exec: "lxc": executable file not found in $PATH
2016/11/03 17:13:39 Error preparing project content for delivery: tar command killed
2016/11/03 17:13:39 Successful tasks: 0
2016/11/03 17:13:39 Aborted tasks: 1
error: tar command killed
lxd.lxc is in my path, but lxc is not. I ran
alias lxc=lxd.lxc
but this doesn't seem to propagate to the spread snap's environment. How can I make the lxc command available to spread?
Currently snaps cannot execute other snaps explicitly or implicitly.
We are working on a set of changes that would allow applications to act as launchers but this is driven by the needs of working in a desktop session. Unfortunately on core systems there is nothing that would allow one snap (spread) to run another (lxd) for now.