-
Notifications
You must be signed in to change notification settings - Fork 935
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
unshare failed: Permission denied (Noble 24.04) #12882
Comments
Found the way to get past that error right here, #11920:
|
@simondeziel please can you look into this? |
@simondeziel this will be solved by re-enabling globally disabling restricted userns right? |
@nteodosio to workaround this temporarily, can you try (as root):
|
This is the PR to have those keys disabled by LXD: canonical/lxd-pkg-snap#327 |
This should be fixed in latest/edge now and will be in the LXD 5.21 release. |
Just some feedback: I'm on Mantic with LXD 5.21, I'm still experiencing this issue. |
@DiogoConstantino did you try the workaround here? |
@DiogoConstantino is it specifically with |
I did not test the workaround, because I rather have that working to secure my system, and this is not a show stopper for me. This is specifically with lxc console, I haven't tested in any other way. Meanwhile, I tested this on 24.04, and it did worked as expected. It appears to be a 23.10 specific issue, and due to the nearby EOL, I don't think it's a big deal. I just want people to know about it in case they also experience it in the next few weeks. |
Thanks for clarification. :) |
Required information
Issue description
I did this before and it worked fine. Now I get error with
unshare
:Steps to reproduce
lxc launch prompting:ubuntu-23.10-desktop p --vm --console=vga -c limits.cpu=4 -c limits.memory=4GiB
.lxc start p && lxc console -t vga p
Information to attach
dmesg
)lxc info NAME --show-log
)lxc config show NAME --expanded
)lxc monitor
while reproducing the issue)The text was updated successfully, but these errors were encountered: