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

bwrap: No permissions to creating new namespace #261

Closed
ochen1 opened this issue Mar 8, 2021 · 1 comment
Closed

bwrap: No permissions to creating new namespace #261

ochen1 opened this issue Mar 8, 2021 · 1 comment

Comments

@ochen1
Copy link

ochen1 commented Mar 8, 2021

$ junest
Could not understand if user namespace is enabled. No config.gz file found. Proceeding anyway...
bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.
Error: Something went wrong while executing bwrap command. Exiting

Any idea how to fix this?

I don't have any root permissions, and am trying to run this from inside a Heroku dyno / container.

@fsquillace
Copy link
Owner

Look at: https://github.com/fsquillace/junest/wiki/Linux-distros-with-user-namespace-enabled-by-default

Debian is one of the few linux distro which still does not have the user namespace enabled by default. The only option would be to use proot as backend (e.g. junest proot -f), it does not work all the time well though.

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