Open andersk opened 2 years ago
I marked this as stale due to inactivity. → More info
Still an issue in 2.8.0.
Still an issue in 2.11.0. I'm trying to install Nix in mcr.microsoft.com/vscode/devcontainers/base:0-jammy
the official MS container for vscode.
Same issue on RHEL
Tried installing Nix in an Ubuntu LXD container on a Ubuntu host, but got the same issue. Is this even a NixOS issue? (edit: Nonetheless, the workaround works: lxc config set <instance_name> security.nesting=true
.)
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/how-to-run-the-nix-installer-silently-from-a-shell-script/25633/1
I am aware of two workarounds:
sudo umount /proc/sys/fs/binfmt_misc /proc/sys/kernel/random/boot_id
in the container.lxc launch -c security.nesting=true
.These workarounds should not be necessary. The installer should detect this problem and either correct it or print a helpful message.