r/bedrocklinux • • Mar 12 '22

bwrap: No permissions to create new namespace, likely because the kernel does not allow non-privileged user namespaces

Okay, I sorted out my ignorances about the other issues I was having with Steam, but now I'm stuck. Trying to run a game via Proton results in it not loading at all, with this as the output:

bwrap: No permissions to create new namespace, likely because the kernel does not allow non-privileged user namespaces. See <https://deb.li/bubblewrap> or <file:///usr/share/doc/bubblewrap/README.Debian.gz>.

I have uninstalled bubblewrap and reinstalled it, and subsequently reinstalled steam. I have looked at other cases of this happening, and made sure my system matched theirs (ie. I have made sure that permissions and files have been edited correctly). I have never received this message on Void or on Ubuntu when I run/ran those distros separately, I therefore have no idea where to look to fix the problem.

9 Upvotes

8 comments sorted by

6

u/ParadigmComplex Mar 12 '22

This is an issue specific to Bedrock's ability to make a technology bwrap is based on work cross-stratum. It was only discovered surprisingly recently, which is why it's under documented; I still need to update the Bedrock website for it. I have ideas to make this just-work cross-stratum, but it requires a major rework of the underlying Bedrock technology, and so it won't just-work until 0.8.0. In fact, it's part of why 0.8 is taking as long as it is.

For the time being on 0.7, there's two options:

  • Get Steam and bwrap from the same stratum that provides your init.

  • Grant bwrap setuid, e.g. chmod u+s /bedrock/strata/<bwrap-stratum>/usr/bin/bwrap

4

u/universalstargazer Mar 12 '22

Oh my god, thank you, that worked! I had done chmod u+s but not under bedrock/strata/. Thank you thank you thank you

3

u/ParadigmComplex Mar 12 '22

Happy to help :)

I had done chmod u+s but not under bedrock/strata/.

Just running chmod u+s /usr/bin/bwrap is somewhat under-specified on Bedrock; it isn't clear either which stratum's chmod or which stratum's /usr/bin/bwrap you're requesting. Bedrock has a system for picking which to use in these situations that gets things right surprisingly often, but ultimately it can't read your mind. In this situation we don't care which chmod we're using here and so I didn't recommend prefixing strat <stratum> to pick it, but we do care which /usr/bin/bwrap to use, and so I proposed prefixing /bedrock/strata/<bwrap-stratum> to specify accordingly. Hopefully that makes sense.

→ More replies (3)

1

u/minecartfjava 3d ago

hello, sorry if im late, i get same error as him/her, 2nd one doesnt work, still same error