Files
podman/libpod
Giuseppe Scrivano 2d1f4a8bff cgroupns: private cgroupns on cgroupv1 breaks --systemd
On cgroup v1 we need to mount only the systemd named hierarchy as
writeable, so we configure the OCI runtime to mount /sys/fs/cgroup as
read-only and on top of that bind mount /sys/fs/cgroup/systemd.

But when we use a private cgroupns, we cannot do that since we don't
know the final cgroup path.

Also, do not override the mount if there is already one for
/sys/fs/cgroup/systemd.

Closes: https://github.com/containers/podman/issues/17727

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-03-14 12:34:52 +01:00
..
2022-01-18 12:47:07 +01:00
2023-02-09 21:56:27 +01:00
2017-11-01 11:24:59 -04:00
2023-02-09 21:56:27 +01:00
2022-10-17 09:19:41 +02:00
2023-02-28 13:45:36 -05:00
2022-01-18 12:47:07 +01:00
2022-09-10 07:52:00 -04:00
2022-09-10 07:52:00 -04:00
2022-09-10 07:52:00 -04:00
2023-03-02 13:43:11 +01:00
2022-04-25 13:23:20 +02:00
2022-09-01 13:02:01 -04:00
2022-10-17 09:19:41 +02:00
2022-01-18 12:47:07 +01:00
2023-02-28 13:45:36 -05:00
2023-03-01 16:09:51 +01:00
2022-01-18 12:47:07 +01:00