Closed zoranbosnjak closed 4 years ago
@zoranbosnjak have you done any progress?
I ran into this issue and found setting security.nesting = true
on the container and then restarting the container fixed it for me:
lxc config set <container_name> security.nesting true
I ran into this issue and found setting
security.nesting = true
on the container and then restarting the container fixed it for me:
lxc config set <container_name> security.nesting true
Thank you for this solution!
The security.nesting
solution helped me get Nix running on a Chromebook (after running it from vsh termina
at the developer console). It used to work but I think the Chrome team changed the default settings.
Hello, I have this failure when installing on a Chromebook. For posterity, I'm documenting the explicit steps based on @empathicqubit 's hints.
Since this may affect many Chromebook or at least Pixelbook users and might need to be documented in the "installing nix" docs. Is that worth a new ticket?
ctrl-alt-t
which pops open crosh
.vsh termina
lxc config set penguin security.nesting true
penguin
lxc container), run sudo reboot
. This closes the window.Note, I personally only tested the single user install method (ie: --no-daemon
to the install script).
Note, I personally only tested the single user install method (ie: --no-daemon to the install script).
Setting security.nesting
to true
worked for multi-user install, for me (though I was using an archlinux container, rather than the default debian).
Works for default debian as well.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/running-nixos-18-09-in-an-lxd-3-8-container/1804/6
problem
Installation does not work inside lxc/lxd container on ubuntu 18.04 host.
steps to reproduce
The process fails with an error: