spiegel_podman/pkg
Daniel J Walsh dcabf6dd71
Remove resize race condition
Since podman-remote resize requests can come in at random times, this
generates a real potential for race conditions. We should only be
attempting to resize TTY on running containers, but the containers can
go from running to stopped at any time, and returning an error to the
caller is just causing noice.

This change will basically ignore requests to resize terminals if the
container is not running and return the caller to success.  All other
callers will still return failure.

Fixes: https://github.com/containers/podman/issues/9831

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-03-26 15:15:17 -04:00
..
annotations Spelling 2020-12-22 13:34:31 -05:00
api Remove resize race condition 2021-03-26 15:15:17 -04:00
auth Enable whitespace linter 2021-02-11 23:01:56 +01:00
autoupdate Do not leak libpod package into the remote client 2021-03-15 14:02:04 +01:00
bindings Remove resize race condition 2021-03-26 15:15:17 -04:00
cgroups Merge pull request #9464 from giuseppe/fix-cgroupv1-stats 2021-02-22 15:48:44 -05:00
channel fix closed the remote connection on pull causes service panic 2020-10-03 11:38:38 +08:00
checkpoint Use functions and defines from checkpointctl 2021-03-02 17:00:06 +00:00
copy podman cp: support copying on tmpfs mounts 2021-03-04 15:43:12 +01:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
domain Support multi doc yaml for generate/play kube 2021-03-25 06:54:12 -06:00
env Ensure DefaultEnvVariables is used in Specgen 2020-08-18 15:17:46 -04:00
errorhandling Reduce general binding binary size 2021-01-13 09:35:24 -06:00
hooks bump go module to v3 2021-02-22 09:03:51 +01:00
inspect bump go module to v3 2021-02-22 09:03:51 +01:00
kubeutils prune remotecommand dependency 2021-02-25 10:02:41 -06:00
lookup Enable whitespace linter 2021-02-11 23:01:56 +01:00
machine Rename podman machine create to init and clean up 2021-03-25 17:45:27 -04:00
namespaces [CI:DOCS] BZ1860126 - Fix userns defaults in run man page 2020-08-07 15:42:13 -04:00
netns bump go module to v3 2021-02-22 09:03:51 +01:00
network Split libpod/network package 2021-03-15 14:01:52 +01:00
parallel bump go module to v3 2021-02-22 09:03:51 +01:00
ps bump go module to v3 2021-02-22 09:03:51 +01:00
registrar bump go module to v3 2021-02-22 09:03:51 +01:00
registries Document CONTAINERS_CONF/CONTAINERS_STORAGE_CONF Env variables 2021-03-10 06:34:47 -05:00
resolvconf bump go module to v3 2021-02-22 09:03:51 +01:00
rootless bump go module to v3 2021-02-22 09:03:51 +01:00
rootlessport Enable whitespace linter 2021-02-11 23:01:56 +01:00
seccomp Spelling 2020-12-22 13:34:31 -05:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal Fix build for mips architecture follow-up 2021-01-07 15:04:22 +01:00
specgen Merge pull request #9816 from jwhonce/wip/namespace 2021-03-25 11:44:00 -07:00
systemd Add RequiresMountsFor= to systemd generate 2021-03-26 08:53:26 -04:00
terminal pkg/terminal: use c/storage/pkg/homedir 2021-03-08 09:21:13 +01:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
trust Enable whitespace linter 2021-02-11 23:01:56 +01:00
util Unification of until filter across list/prune endpoints 2021-03-24 00:56:00 +01:00