[systemd-devel] Compiling in a sandbox

Thomas Jones spudd86.2 at gmail.com
Wed Jun 16 11:38:01 PDT 2010


On 06/16/10 09:32, Lennart Poettering wrote:
> On Wed, 16.06.10 15:08, olechrt at stud.ntnu.no (olechrt at stud.ntnu.no) wrote:
>
>   
>> Compiling using portage in gentoo currently fails, since make
>> tries to create and mount /cgroup. Is this necessary for compilation?
>>     
> Well, not if you build from a tarball. Unfortunately we have no tarballs
> available yet.
>
> Also, we don't try to mount the dirs if you have an uid != 0. You should
> not build systemd as root anyway. 
>
>   
Portage should not be compiling as root... I don't think it does that by
default anyway...

IIRC you have to manually put FEATURES="-usersandbox" to make portage
NOT build
things as the portage user (I could be wrong since I DO have usersandbox
in my
FEATURES)


More information about the systemd-devel mailing list