-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
steam-fhsenv: don't unshare pid #109466
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
steam-fhsenv: don't unshare pid #109466
Conversation
Some applications such as Natron need access to MIT-SHM or other shared memory mechanisms. Unsharing the pid namespace breaks the ability for application to reference shared memory.
To make it work with |
done |
Thanks a lot, I can confirm it works. By the way, if you have any idea on how to make bubblewrap run packages that require fuse internally, I would be very happy to hear about it. This is used for example by some AppImages like LittleWeeb (and since |
My assumption is that using a new user space is breaking file IO, but would need to run an
|
anyway, was able to launch steam and csgo with changes |
This copies a workaround required for steam, as the same issue occurs in lutris. See NixOS#109466 Fixes battle.net client crashing on startup and overwatch crashing. Fixes NixOS#195126
Motivation for this change
closes: #104412
Some applications such as Natron need access to MIT-SHM or other
shared memory mechanisms. Unsharing the pid namespace
breaks the ability for application to reference shared memory.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)