Open xaverdh opened 3 years ago
This could help make builds more reproducible as well. It would require to mount a fake procfs or at least bind-mount some of the paths over with fake values.
I marked this as stale due to inactivity. → More info
Still relevant as in https://github.com/NixOS/nixpkgs/issues/205125
Still relevant. Relatedly, /proc/modules
is available causing unexpected issues in https://github.com/nix-community/home-manager/pull/4644
I meet the same problem here. https://github.com/NixOS/nixpkgs/issues/335612
Describe the bug
The sandbox should probably hide some parts of /proc ?
Steps To Reproduce build the following derivation:
Expected behavior
Access to some parts of /proc should probably be denied by the sandbox.
nix-env --version
outputnix-env (Nix) 2.4pre20201201_5a6ddb3
Additional context
Also see https://github.com/NixOS/nixpkgs/issues/60416, where this came up.