[systemd-devel] jailrooting services with RootDirectory - how ?

Michael Chapman mike at very.puzzling.org
Wed Sep 28 08:51:01 UTC 2022


On Wed, 28 Sep 2022, Branko wrote:
> On Wed, 28 Sep 2022 18:11:14 +1000 (AEST)
> Michael Chapman <mike at very.puzzling.org> wrote:
> 
> Sure, but this example is kind of useless as it doesn't bind-mount
> anything into chroot.

Sure, but you didn't mention anything about bind mounts.

I added:

    BindReadOnlyPaths=/usr

and my example still works for me.

If you're having further problems, you really need to look at the error 
messages and log messages being generated. We can't guess what they are.


More information about the systemd-devel mailing list