spiegel_podman/pkg
Matthew Heon 640eac4659 Clean up when stopping pods
We have a test to verify that init containers in pods are
deleted when the `--init-ctr=once` option is specified. The test
creates two containers, one of them an init container, starts the
pod, stops the pod, and restarts the pod, checking for the
presence of a file created by the init container during the
second start. We're seeing a race where the file still exists,
which I'm fairly certain comes down to the SHM mount not being
cleaned up after the pod is stopped.

Fortunately, we already have code to do this - just flip the bool
that controls cleanup from false to true.

[NO NEW TESTS NEEDED] Fixes a difficult to reproduce race
condition.

Fixes #16046

Signed-off-by: Matthew Heon <mheon@redhat.com>
2022-10-18 13:29:26 -04:00
..
annotations fix a number of godot issues 2022-03-22 13:04:35 +01:00
api Prevent nil pointer deref in GetImage 2022-10-04 15:31:00 -05:00
auth Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
autoupdate auto-update: validate container image 2022-09-26 17:07:05 +02:00
bindings Revert "remote: fix manifest add --annotation" 2022-09-29 14:16:42 +02:00
channel pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
checkpoint Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
copy pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
criu Fix spelling of GetCriuVersion 2022-06-27 12:57:44 +01:00
ctime Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
domain Clean up when stopping pods 2022-10-18 13:29:26 -04:00
env Fix stutters 2022-09-10 07:52:00 -04:00
errorhandling libpod/runtime: switch to golang native error wrapping 2022-07-04 15:39:00 +02:00
inspect pkg/inspect: remove unused ImageResult type 2022-05-24 16:07:39 +02:00
k8s.io fix: kube play liveness probe http path 2022-09-28 09:56:56 +02:00
lookup enable gocritic linter 2022-04-26 18:12:22 +02:00
machine podman machine ssh handling 2022-09-26 18:35:01 -04:00
namespaces podman: add uid and gid options to keep-id 2022-08-30 14:39:27 +02:00
parallel Fix stutters 2022-09-10 07:52:00 -04:00
ps Fix stutters 2022-09-10 07:52:00 -04:00
rctl pkg/rctl: Add a simple FreeBSD RCTL library 2022-09-14 08:29:26 +01:00
rootless Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
rootlessport go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
servicereaper go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
signal Add support to sig-proxy for podman-remote 2022-09-20 22:52:45 +03:00
specgen Create full path to a directory when DirectoryOrCreate is used with play kube 2022-10-18 13:29:06 -04:00
specgenutil Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
systemd Merge pull request #15820 from vrothberg/fix-15800 2022-09-26 13:37:40 +02:00
terminal podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
timetype enable gocritic linter 2022-04-26 18:12:22 +02:00
trust Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
util Don't mount /dev/tty* inside privileged containers running systemd 2022-09-22 16:44:26 +02:00