[systemd-devel] Chroot jail for service with /proc, etc. already mounted

Albert Strasheim fullung at gmail.com
Sun Apr 3 23:45:06 PDT 2011


Hello all

I was wondering if anyone had an example of a service unit that sets
up a chroot jail with RootDirectory= but also mounts /proc, /sys and
maybe a directory with some binaries and configuration inside it?

It feels like this should perhaps be possible with
ReadWriteDirectories and ReadOnlyDirectories, but I can't get it
working.

Regards

Albert


More information about the systemd-devel mailing list