-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
buildFHSChrootEnv requires root, possibly unnecessarily #11559
Comments
See buildFHSUserEnv and https://nixos.org/wiki/FHS_environments. Steam uses buildFHSUserEnv, nothing uses buildFHSChrootEnv; maybe we should just remove buildFHSChrootEnv? |
It might be possible to use |
I've tried to implement |
buildFHSUserEnv basically does the unshare + chroot that I was talking about, not sure if the ChrootEnv is even needed anymore. |
I've left |
Is this still relevant? |
Yeah, probably not. I guess I'd mostly just want a better name for it that paints the distinction better, but I don't have a real proposal for what that name should be. |
It seems like we could have
buildFHSChrootEnv
work without root by using user namespaces.The text was updated successfully, but these errors were encountered: