Skip to content
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

nix-portable does not fallback to proot when user namespaces are not available #138

Open
algal opened this issue Nov 8, 2024 · 0 comments

Comments

@algal
Copy link

algal commented Nov 8, 2024

The readme file says:

If user namespaces are not available on a system, nix-portable will fall back to using proot as an alternative mechanism to virtualize /nix.

But when I follow the install instructions exactly and try to use it on a Ubuntu 22.04.05 machine, I get this:

(base) ag@tiny2:~$ ./nix-portable nix run nixpkgs#htop
error: setting up a private mount namespace: Operation not permitted

So it seems not to fallback correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant