podman/pkg/specgen
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
..
generate specgen, rootless: fix mount of cgroup without a netns 2023-09-21 13:20:09 +02:00
config_unsupported.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
container_validate.go add "healthy" sdnotify policy 2023-07-25 11:17:44 +02:00
namespaces.go libpod: remove CNI word were no longer applicable 2022-12-16 14:20:14 +01:00
namespaces_test.go libpod: Add pasta networking mode 2022-11-08 00:16:35 +01:00
pod_validate.go libpod: Add pasta networking mode 2022-11-08 00:16:35 +01:00
podspecgen.go Add --restart flag to pod create 2023-05-02 10:29:58 -04:00
resources_freebsd.go specgen/generate: Factor out setting resource limits from CompleteSpec 2022-09-08 08:24:18 +01:00
resources_linux.go specgen/generate: Factor out setting resource limits from CompleteSpec 2022-09-08 08:24:18 +01:00
specgen.go make golangci-lint happy 2023-09-14 11:21:00 +02:00
specgen_local.go pkg/specgen: do not depend on libimage for remote 2023-09-14 11:20:59 +02:00
specgen_remote.go make golangci-lint happy 2023-09-14 11:21:00 +02:00
specgen_test.go libpod: support idmap for --rootfs 2023-02-02 22:35:00 +01:00
utils.go implement podman update 2022-09-01 13:02:01 -04:00
utils_linux.go implement podman update 2022-09-01 13:02:01 -04:00
volumes.go add support for subpath in play kube for named volumes 2022-12-12 09:54:00 -05:00
winpath.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
winpath_linux.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_unsupported.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_windows.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00