[systemd-devel] Compiling in a sandbox

Lennart Poettering lennart at poettering.net
Thu Jul 8 12:57:33 PDT 2010


On Thu, 08.07.10 19:11, Ozan Çağlayan (ozan at pardus.org.tr) wrote:

> 
> 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.

Don't build this as root, please.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list