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

Luca Bruno lethalman88 at gmail.com
Wed Dec 10 00:25:05 CET 2014


It still needs linux-user-chroot to be suid, doesn't it?

On Tue, Dec 9, 2014 at 9:04 PM, Colin Walters <walters at verbum.org> wrote:

> On Thu, Dec 4, 2014, at 06:24 AM, Harald van Dijk wrote:
> > Hello,
> >
> > I've recently been trying to use Nix in a somewhat different way than
> > NixOS, and the builders I've got, it would be useful if they were able
> > to run unshare -r.
>
> You might be interested in
> https://git.gnome.org/browse/linux-user-chroot
>
> gnome-continuous uses it to do all builds chrooted as non-root, including
> buildroot construction as non-root.
>
> It might eventually be obsoleted by user namespace support in the kernel,
> but it's been quite useful in the last 4 years for my higher level tools.
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>



-- 
NixOS Linux <http://nixos.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141210/db3e4727/attachment-0001.html 


More information about the nix-dev mailing list