[systemd-devel] Compiling in a sandbox

Ozan Çağlayan ozan at pardus.org.tr
Thu Jul 8 09:11:53 PDT 2010


On 16.06.2010 16: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.

I just tested systemd-1 on a sandboxed build and it still fails:

make[1]: Entering directory `/var/pisi/systemd-1-1/work/systemd-1'
./systemd --introspect=org.freedesktop.systemd1.Job > org.freedesktop.systemd1.Job.xml
Sandbox violation: mkdir (/cgroup -> /cgroup)
Failed to mount /cgroup/systemd: No such file or directory
make[1]: *** [org.freedesktop.systemd1.Job.xml] Error 1

Note that this is built as root too.


More information about the systemd-devel mailing list