In my specific case, I use Arch Linux on a linux-hardened kernel, which disables the kernel.unprivileged_userns_clone flag. I do not think that a "enabled-by-default" is a valid reason to require this flag -- although it is enabled by default on the mainline kernel now, it still has outstanding security issues that have not been resolved, which is why I believe it should not be a hard requirement.
Copying from ValveSoftware/Proton#4289:
As mentioned in #4278, the release requires enabling the kernel.unprivileged_userns_clone kernel flag:
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'.
This is not acceptable -- this flag is for a feature that has not been fully vetted for security and has been disabled in several security-conscious distros. The best info I could find is in this article: https://lwn.net/Articles/673597/
Personally, I think that requiring user namespaces gains absolutely no value for Proton or the steam runtime and should not be required.
In my specific case, I use Arch Linux on a linux-hardened kernel, which disables the
kernel.unprivileged_userns_cloneflag. I do not think that a "enabled-by-default" is a valid reason to require this flag -- although it is enabled by default on the mainline kernel now, it still has outstanding security issues that have not been resolved, which is why I believe it should not be a hard requirement.Copying from ValveSoftware/Proton#4289: