Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Sandbox vs userpriv
Date: Mon, 13 Aug 2012 12:12:05
Message-Id: CA+czFiB9PH2Nufg625hh7QdJPUf-pb_7f8gSbv-78gyBwcdUtA@mail.gmail.com
In Reply to: [gentoo-user] Re: Sandbox vs userpriv by Nilesh Govindrajan
1 On Mon, Aug 13, 2012 at 4:50 AM, Nilesh Govindrajan <contact@××××××××.com>wrote:
2
3 > On Aug 13, 2012 2:19 PM, "Nilesh Govindrajan" <contact@××××××××.com>
4 > wrote:
5 > >
6 > > What's the disadvantage of compiling in sandbox instead of compiling
7 > directly with userpriv?
8 >
9 > *advantage
10 >
11
12 If you do things like parallel builds (-j applied to emerge, not just
13 make), a sandbox can help keep the build environment consistent throughout
14 a build. (And if that's not a feature that's currently in sandbox, it's one
15 where an extension of which is being discussed in -dev right now, and being
16 worked on by a few people.)
17
18 The other thing sandbox gives you is some protection from badly-written
19 build systems, such as ones which go out and modify files outside of
20 explicitly-allowed paths and the like, or try installing files before 'make
21 install'...that kind of thing.
22
23 --
24 :wq

Replies

Subject Author
Re: [gentoo-user] Re: Sandbox vs userpriv Nilesh Govindrajan <contact@××××××××.com>