-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Error: cloning builder process: Operation not permitted installing Nix 2.2.1 in (Arch) Linux #2633
Comments
I did |
@x80486: I think that anything you do with |
worked on Debian buster/testing as well |
OK, I updated the system's kernel to |
I think it might work without |
I think it is also important to note that the
|
I was just giving a small nix workshop and had two users running different distributions (arch and centos) running into this problem. I really don't think that this issue should be closed. Anyone running the installer with a distribution where the settings are not as described here will get a weird error message with no indication what to do about it. In order for this issue to be considered as solved I think there would have to be one/both of the below:
|
Not sure about arch distro but in the case of CentOS, it's really the distro that is doing custom setup to disable user namespaces even if the kernel version used supports that (see #2632) so would be a bit hard to check for that as every distro can override the default behavior. |
Right, we can't really fix or adjust the choices made by various distributions. But isn't there a definitive way to find out if user namespaces are available or not?
Are we good if the number returned here is But above all: even if we can't ultimately fix this, a useful error message would be a drastic improvement. |
Hello everybody. I have just got this same error but for a different reason.
UserNS is enabled in my system.
So I should add |
Tried |
Framagit runners seems to have some problem about it =/. Might be related to NixOS/nix#2633
Just ran into this same issue in an Ubuntu 18.04.2 docker image.
|
I'm hitting this bug on a fresh installed Debian buster. Can we please open this issue again and find a solution? CC: @edolstra |
Same problem on an OVH rescue image which prevent me to install NixOS 19.03 on a dedicated server. I'm sadly going back to Ubuntu :( |
I think this is fixed by #3006. |
Not quite for all Linuxes. I use Arch Linux and I have to run |
I am on Arch, ran that command, and still got that error... |
I'm currently using Arch Linux
4.19.15-1-lts #1 SMP Sun Jan 13 13:53:52 CET 2019 x86_64 GNU/Linux
. I'm trying to install Nix2.2.1
and I'm getting some errors:The text was updated successfully, but these errors were encountered: