podman/pkg/specgen/generate
Giuseppe Scrivano 8d3010d06b
specgen, rootless: fix mount of cgroup without a netns
commit cf364703fc changed the way
/sys/fs/cgroup is mounted when there is not a netns and it now honors
the ro flag.  The mount was created using a bind mount that is a
problem when using a cgroup namespace, fix that by mounting a fresh
cgroup file system.

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

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-09-21 13:20:09 +02:00
..
kube add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
config_common.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
config_common_test.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
config_freebsd.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
config_linux.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
config_linux_seccomp.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
config_linux_test.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
container.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
container_create.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
namespaces.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
namespaces_freebsd.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
namespaces_linux.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
oci.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
oci_freebsd.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
oci_linux.go specgen, rootless: fix mount of cgroup without a netns 2023-09-21 13:20:09 +02:00
pause_image.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
pod_create.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
pod_create_test.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
ports.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
ports_bench_test.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
ports_test.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
security_freebsd.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
security_linux.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
storage.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
storage_freebsd.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
storage_linux.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00
validate.go add !remote tag to pkg/specgen/generate 2023-09-14 11:21:00 +02:00