Alban Crequy
ee818b89f4
core: Private*/Protect* options with RootDirectory
...
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}.
The test-ns tool can test setup_namespace() with and without chroot:
$ sudo TEST_NS_PROJECTS=/home/lennart/projects ./test-ns
$ sudo TEST_NS_CHROOT=/home/alban/debian-tree TEST_NS_PROJECTS=/home/alban/debian-tree/home/alban/Documents ./test-ns
2015-05-18 18:47:45 +02:00
..
2014-11-28 19:49:27 +01:00
2015-05-11 22:51:49 +02:00
2015-04-21 20:23:41 +02:00
2015-02-05 16:52:42 +01:00
2014-12-23 19:15:27 +01:00
2015-04-30 01:24:48 +02:00
2014-12-23 21:06:01 +01:00
2015-05-13 18:30:14 +02:00
2015-02-23 23:53:42 +01:00
2015-05-11 22:51:49 +02:00
2015-03-02 12:15:25 +01:00
2015-04-21 20:23:41 +02:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-03 02:05:59 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2014-12-23 03:26:24 +01:00
2015-04-29 18:36:25 +02:00
2015-04-29 18:36:25 +02:00
2015-05-11 22:51:49 +02:00
2015-02-26 09:38:50 -05:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-04-29 18:36:25 +02:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-04-29 18:36:25 +02:00
2015-04-29 18:36:25 +02:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2014-12-08 16:28:56 +01:00
2015-05-11 22:24:45 +02:00
2015-04-29 18:36:25 +02:00
2015-05-11 22:51:49 +02:00
2015-02-18 18:56:27 +01:00
2015-05-11 22:51:49 +02:00
2015-04-24 12:29:05 +02:00
2015-05-18 18:47:45 +02:00
2015-05-13 15:48:28 +02:00
2015-05-11 22:51:49 +02:00
2015-05-18 17:10:07 +02:00
2015-02-23 23:53:42 +01:00
2015-05-11 22:51:49 +02:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-04-11 00:34:02 +02:00
2015-05-18 17:27:42 +02:00
2015-02-23 23:53:42 +01:00
2014-12-16 00:30:33 -05:00
2015-04-21 20:23:41 +02:00
2015-05-16 18:21:10 -04:00
2015-01-07 23:44:08 +01:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-04-10 23:54:49 +02:00
2014-12-03 03:41:19 +01:00
2014-10-27 22:34:09 -04:00
2015-05-15 12:49:33 +02:00
2015-05-13 16:32:55 +02:00
2015-05-11 22:51:49 +02:00
2015-04-07 14:03:44 +02:00
2014-11-14 15:18:56 +01:00
2015-05-13 15:48:28 +02:00
2015-05-13 15:48:28 +02:00
2015-05-18 18:47:45 +02:00
2015-05-18 18:47:45 +02:00
2015-02-18 18:56:27 +01:00
2015-05-11 22:51:49 +02:00
2015-02-23 23:53:42 +01:00
2015-05-13 18:30:14 +02:00
2015-02-23 23:53:42 +01:00
2015-04-21 00:58:56 +02:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2014-10-28 14:31:48 +01:00
2015-05-12 17:25:44 +02:00
2015-04-05 08:45:56 +02:00
2015-04-11 00:34:02 +02:00
2015-05-11 22:24:45 +02:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2014-10-28 14:31:48 +01:00
2015-05-11 22:24:45 +02:00
2015-02-23 23:53:42 +01:00
2015-05-13 18:30:14 +02:00
2015-03-02 12:15:25 +01:00
2015-05-11 22:51:49 +02:00
2015-03-02 12:15:25 +01:00
2015-03-03 19:10:21 -05:00
2015-04-21 20:35:17 +02:00
2015-04-24 15:51:10 +02:00
2015-02-23 23:53:42 +01:00
2015-05-13 18:30:14 +02:00
2015-02-23 23:53:42 +01:00
2015-05-11 22:24:45 +02:00
2015-04-07 15:42:25 +02:00
2015-05-11 22:51:49 +02:00
2015-05-11 22:51:49 +02:00
2015-05-11 22:28:52 +02:00
2014-11-29 13:55:31 -05:00