Re: [systemd-devel] [PATCH] [PATCH v3] core: Private*/Protect* options with RootDirectory

2015-05-13 Thread Lennart Poettering
On Tue, 12.05.15 15:36, Alban Crequy (alban.cre...@gmail.com) wrote: diff --git a/src/core/execute.c b/src/core/execute.c index 1a297ba..d4ccac6 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -1277,6 +1277,7 @@ static int exec_child( uid_t uid = UID_INVALID;

[systemd-devel] [PATCH] [PATCH v3] core: Private*/Protect* options with RootDirectory

2015-05-12 Thread Alban Crequy
From: Alban Crequy al...@endocode.com When a service is chrooted with the option RootDirectory=/opt/..., then the options PrivateDevices, PrivateTmp, ProtectHome, ProtectSystem must mount the directories under $RootDirectory/{dev,tmp,home,usr,boot}. This can be tested with test-ns as root: #

Re: [systemd-devel] [PATCH] [PATCH v3] core: Private*/Protect* options with RootDirectory

2015-05-12 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1431437816-15161-1-git-send-email-alban%40endocode.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing