[systemd-devel] Compiling in a sandbox

Thomas Jones spudd86.2 at gmail.com
Thu Jun 17 08:46:34 PDT 2010


On 06/16/10 16:00, Lennart Poettering wrote:
> On Wed, 16.06.10 14:38, Thomas Jones (spudd86.2 at gmail.com) wrote:
>
>   
>> 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)
>>     
> Well, we check for geteuid() == 0. Only if that holds we try to
> mount the API file systems.
>
> If systemd tries to mount those filesystems on your Gentoo systemd this
> hence means one of two things:
>
> 1) portage is broken and doesn't properly drop privileges
>
> 2) you are using a really old systemd git snapshot.
>
> Lennart
>   
Ah, sorry I was wrong user-sandbox is not in the default FEATURES (Also
I haven't tried systemd myself yet so I don't know if it works for me :P)


More information about the systemd-devel mailing list