Giuseppe Scrivano
afd0818326
rootless: automatically create a systemd scope
...
when running in rootless mode and using systemd as cgroup manager
create automatically a systemd scope when the user doesn't own the
current cgroup.
This solves a couple of issues:
on cgroup v2 it is necessary that a process before it can moved to a
different cgroup tree must be in a directory owned by the unprivileged
user. This is not always true, e.g. when creating a session with su
-l.
Closes: https://github.com/containers/libpod/issues/3937
Also, for running systemd in a container it was before necessary to
specify "systemd-run --scope --user podman ...", now this is done
automatically as part of this PR.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-09-12 08:35:26 +02:00
..
2019-03-29 08:27:33 -04:00
2019-09-10 10:52:37 -04:00
2019-08-13 15:13:20 -04:00
2019-08-14 09:30:12 -05:00
2019-09-10 13:30:50 -04:00
2017-11-01 11:24:59 -04:00
2019-07-03 15:41:33 -05:00
2019-07-11 09:13:06 -05:00
2019-09-05 17:12:27 -04:00
2019-01-18 15:43:11 -06:00
2019-01-18 15:43:11 -06:00
2019-09-11 10:17:28 -04:00
2019-07-08 09:18:11 -05:00
2019-09-04 19:55:54 +02:00
2019-07-26 16:04:17 -07:00
2019-08-21 17:28:30 +02:00
2019-08-21 17:28:30 +02:00
2019-09-10 10:52:37 -04:00
2019-09-11 09:34:14 +02:00
2019-04-09 21:08:44 +02:00
2019-06-25 13:51:24 -05:00
2019-09-11 00:58:46 +02:00
2018-07-31 14:19:50 +00:00
2019-06-27 07:56:24 -05:00
2019-06-27 07:56:24 -05:00
2019-09-10 10:52:37 -04:00
2019-06-27 07:56:24 -05:00
2018-07-31 14:19:50 +00:00
2019-09-10 10:52:37 -04:00
2019-06-27 07:56:24 -05:00
2019-07-11 14:43:34 +02:00
2019-07-07 08:54:20 -05:00
2019-07-11 09:13:06 -05:00
2019-06-25 13:51:24 -05:00
2019-07-22 15:57:23 -04:00
2019-09-09 12:06:10 -04:00
2019-09-06 07:32:42 -04:00
2019-08-01 15:47:45 -04:00
2018-11-26 13:55:02 +01:00
2019-08-19 16:16:06 +02:00
2019-06-25 13:51:24 -05:00
2019-07-22 15:57:23 -04:00
2019-07-22 15:57:23 -04:00
2019-07-23 10:13:04 -05:00
2019-07-22 15:57:23 -04:00
2019-09-12 08:35:26 +02:00
2019-09-10 10:52:37 -04:00
2019-07-22 15:57:23 -04:00
2019-09-10 10:52:37 -04:00
2019-09-10 10:52:37 -04:00
2019-08-21 17:28:30 +02:00
2019-06-25 13:51:24 -05:00
2019-06-27 07:56:24 -05:00
2019-06-25 13:51:24 -05:00
2019-08-18 03:48:40 +00:00
2019-06-25 13:51:24 -05:00
2019-09-11 00:58:46 +02:00
2018-08-16 17:12:36 +00:00
2019-08-08 20:05:55 -05:00
2019-05-17 20:48:25 +02:00
2019-07-08 09:18:11 -05:00
2019-08-19 13:33:15 +02:00
2019-08-19 07:41:50 -04:00
2019-06-25 13:51:24 -05:00
2019-06-25 13:51:24 -05:00
2019-08-28 11:35:00 -04:00
2019-09-05 17:12:27 -04:00
2019-06-25 13:51:24 -05:00
2019-09-09 12:06:10 -04:00
2019-09-10 10:52:37 -04:00
2019-06-27 07:56:24 -05:00
2019-09-09 12:06:10 -04:00
2018-06-29 20:44:09 +00:00
2019-06-25 13:51:24 -05:00
2019-09-10 10:52:37 -04:00
2019-06-25 13:51:24 -05:00
2019-08-14 15:46:07 +02:00
2018-03-14 20:21:31 +00:00
2019-06-25 13:51:24 -05:00
2019-09-06 07:32:42 -04:00
2019-08-02 15:30:31 -04:00
2019-09-05 17:12:27 -04:00
2019-09-05 17:12:27 -04:00
2019-09-09 17:17:39 -04:00
2019-09-09 17:17:39 -04:00