[Nix-dev] Making Nix use pivot_root in addition to chroot

Shea Levy shea at shealevy.com
Fri Dec 5 22:34:42 CET 2014


Couldn't we either a) mount our chroot over / instead of doing a chroot or b) do the chroot *after* the new user namespace?

Sent from my iPhone

> On Dec 5, 2014, at 4:05 PM, Eelco Dolstra <eelco.dolstra at logicblox.com> wrote:
> 
> Hi,
> 
>> On 04/12/14 12:24, Harald van Dijk wrote:
>> 
>> Is there any interest in getting something like this in Nix? I would be
>> perfectly happy to clean this patch up, get it into better shape, but I'd like
>> to avoid doing so if (for whatever reason) it is decided that Nix should not be
>> using this.
> 
> Looks good to me. Being able to use all that user namespace magic would be great :-)
> 
> -- 
> Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list