Article 6H6VW [SOLVED] Counter Strike 2, game would not start. Creating New Namespace Failed.

[SOLVED] Counter Strike 2, game would not start. Creating New Namespace Failed.

by
GlennsPref
from LinuxQuestions.org on (#6H6VW)
Counter Strike 2, game play.

The game would not start in steam.

Eventually I saw an error in the steam diagnostics (thank the devs for that).

The last 2 lines...
Code:pressure-vessel-wrap[2596]: E: Diagnostic output:
bwrap: Creating new namespace failed: nesting depth or /proc/sys/user/max_*_namespaces exceeded (ENOSPC)I saw that the setting on my system was not set.
I looked at some of the other settings and presumed it needed the same range as the others.

I found it set to 0

I can insert the code required to set this parameter for the linux kernel.

Code:echo "user.max_user_namespaces = 63505" > /etc/sysctl.d/max_user_namespaces.confReboot to set the namespaces parameter.
check the list with...
Code:sysctl -aCode:glenn@GamesBox ~ $ uname -a
Linux GamesBox 6.5.0-0.deb12.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23) x86_64 GNU/LinuxI hope this will help.

<edit>
Tested over a 1 hour playing games.
I only wonder if the figure "63505" is overkill. I'll have to find out if it was the kernel version or if I arranged for it.

Thank you
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments