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

Remove unconfinement from LXD profile #13

Open
johnsca opened this issue Oct 7, 2021 · 1 comment
Open

Remove unconfinement from LXD profile #13

johnsca opened this issue Oct 7, 2021 · 1 comment

Comments

@johnsca
Copy link
Contributor

johnsca commented Oct 7, 2021

The privileged and unconfined parts of the LXD profile (below) are causing issues with the microstack provider. I believe it was originally put in place because it was needed for running CK under LXD. The profile CK used was subsequently changed to drop its privilege requirements making it unnecessary here, but then that caused issues in CK and had to be reverted there. If #12 is done first, we could just move CK deployments to VMs instead and generally speaking, having the LXD profile be unconfined is a significant security risk.

security.privileged: "true"
raw.lxc: "lxc.apparmor.profile=unconfined"
@gtrkiller
Copy link

Hello there, I have been reading the code a little bit and it seems that the lxd unconfined option is already commented and the tests reflect it's non-existence. Is there a reason for this issue to be open anyway? Thank you!

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

2 participants