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

Snap Package #296

Open
ryanjyoder opened this issue Feb 21, 2020 · 6 comments
Open

Snap Package #296

ryanjyoder opened this issue Feb 21, 2020 · 6 comments

Comments

@ryanjyoder
Copy link

Is there plan to package lxdui as a snap? From the repo history it looks like that was the intention. I registered the snap name (lxdui), but I will be very happy to transfer it to you if the plan is to maintain the snap. Since the lxd interface is privileged, the snap still needs to be approved before it appears in the store.

I also had to bump the Flask version to get it working:
https://github.com/ryanjyoder/lxdui

@vhajdari
Copy link
Contributor

vhajdari commented Feb 22, 2020 via email

@ryanjyoder
Copy link
Author

I would love to take a crack at this. Currently the snap I built, seems to work. I've tested the basic features such as starting/stopping containers, downloading images, etc (on amd64 and armhf). Do you have a test suite? or test plan i could try?

It does need access to the lxd plug before it can get into the store:
https://forum.snapcraft.io/t/manual-approval-for-use-of-lxd-plug-lxdui/15588

@ryanjyoder
Copy link
Author

Just a quick update, it appears the biggest change that needs to be made is configuration. I'm trying to understand if there's a use case for running the app as an unprivileged user (who presumably is in the lxd group). verses a daemon running as root. If both use cases are supported then it gets a bit awkward to have two different auth.conf files depending on whether it's running as a daemon vs user.

@avsdev-cw
Copy link

Would also like to see this done, would make for a much cleaner install as a snap package.

@vhajdari
Copy link
Contributor

Hi @ryanjyoder is there anything you need from my end, especially from a testing perspective?

@quantumchaos451
Copy link

Would this help you - https://snapcraft.io/fabrica - your own snap build factory?

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

No branches or pull requests

4 participants