Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LXD backend when run as a snap. #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RAOF
Copy link

@RAOF RAOF commented Nov 13, 2017

Snaps can't access binaries outside their shipped rootfs, so ship the lxc command
in the snap.

This requires that the user manually connect the lxd interface, but that's unavoidable.

Fixes: #11

Snaps can't access binaries outside their shipped rootfs, so ship the lxc command
in the snap.

This requires that the user manually connect the lxd interface, but that's unavoidable.
@RAOF RAOF changed the title Fix LXD backend when run as a snap (Issue #11). Fix LXD backend when run as a snap. Feb 22, 2019
Copy link
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its a bit unfortunate that we have to bundle the lxd-client to make this work. But I guess its unavoidable. A review from @chipaca would be great. I also would love a test for this if its not too involved :)

@mvo5
Copy link
Contributor

mvo5 commented Sep 23, 2019

I guess a generic "can we build a snap at all" would also be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spread (via snap) exec: "lxc": executable file not found in $PATH
2 participants