You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chrootenv should detect chrootenv-in-chrootenv scenario and show a more useful error message than unshare: Operation not permitted. It took a lot of head-scratching to identify what's going on.
Steps to reproduce
Run chrootenv inside chrootenv:
$ chrootenv=$(find /nix/store -name \*-chrootenv | head -1)
$ $chrootenv $chrootenv ls
/nix/store/d01wd24jkv781s2psvaccbw66zacxqyx-chrootenv:chrootenv.c:140: unshare: Operation not permitted
Activity
chrootenv: error on chrootenv-inside-chrootenv, resolves NixOS#32802
lukateras commentedon Dec 22, 2017
Closed via 710662b.
chrootenv: error on chrootenv-inside-chrootenv, resolves #32802