[systemd-devel] Compiling in a sandbox
Lennart Poettering
lennart at poettering.net
Wed Jun 16 13:00:47 PDT 2010
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
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the systemd-devel
mailing list