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

daemon.start: stop disabling Apparmor restrictions on unpriv userns/unconfined #187

Conversation

simondeziel
Copy link
Member

Those restrictions are not enabled in 23.10 so LXD no longer need to force disable them. If they are enabled, it means the user opted into it, probably for testing the features, in which case LXD shouldn't undo the user's decision.

…nconfined

Those restrictions are not enabled in 23.10 so LXD no longer need to
force disable them. If they are enabled, it means the user opted into
it, probably for testing the features, in which case LXD shouldn't
undo the user's decision.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
@simondeziel
Copy link
Member Author

@tomponline do you also want a separated PR for latest-candidate?

@tomponline
Copy link
Member

yes please

@tomponline
Copy link
Member

@alexmurray are you happy for us to merge this and LXD will still work on Mantic?

@alexmurray
Copy link
Contributor

Yes this is backwards compatible with the current snapd / kernel behaviour in mantic.

@alexmurray
Copy link
Contributor

Oops sorry I thought this was a different PR. Give me a sec to check it m

@alexmurray
Copy link
Contributor

alexmurray commented Nov 20, 2023

Yes this is fine to merge, there is no plan to enable the restriction on mantic currently.

@tomponline
Copy link
Member

@simondeziel please port to latest-candidate

@tomponline tomponline merged commit 11ebc46 into canonical:latest-edge Nov 20, 2023
1 check passed
@simondeziel simondeziel deleted the undo-apparmor-restriction-changes branch November 21, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants