podman/pkg
Matthew Heon 83e6e4ccdd Enable masking stop signals within container creation
Expand the use of the Shutdown package such that we now use it
to handle signals any time we run Libpod. From there, add code to
container creation to use the Inhibit function to prevent a
shutdown from occuring during the critical parts of container
creation.

We also need to turn off signal handling when --sig-proxy is
invoked - we don't want to catch the signals ourselves then, but
instead to forward them into the container via the existing
sig-proxy handler.

Fixes #7941

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-10-12 17:08:26 -04:00
..
annotations Add `ContainerManager` annotation to created containers 2019-09-10 09:37:14 +02:00
api Enable masking stop signals within container creation 2020-10-12 17:08:26 -04:00
auth Add X-Registry-Config support 2020-09-29 08:46:44 -07:00
autoupdate Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
bindings Search repository tags using --list-tags 2020-10-09 11:49:46 -04:00
cgroups pkg/cgroups/createCgroupv2Path: nits 2020-10-05 15:57:57 -07:00
channel fix closed the remote connection on pull causes service panic 2020-10-03 11:38:38 +08:00
checkpoint Lowercase some errors 2020-10-05 15:56:44 -07:00
criu
ctime
domain Enable masking stop signals within container creation 2020-10-12 17:08:26 -04:00
env Ensure DefaultEnvVariables is used in Specgen 2020-08-18 15:17:46 -04:00
errorhandling remote run: fix error checks 2020-09-11 12:41:15 +02:00
hooks pkg/hooks: support all hooks 2020-09-22 14:44:09 +02:00
inspect Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
kubeutils
lookup Turn on More linters 2020-06-15 07:05:56 -04:00
namespaces [CI:DOCS] BZ1860126 - Fix userns defaults in run man page 2020-08-07 15:42:13 -04:00
netns Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
parallel Move pod jobs to parallel execution 2020-10-07 10:00:11 -04:00
ps Fix podman-remote ps --ns broken 2020-10-04 19:48:13 +08:00
registrar Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
registries pkg/registries: add a retiring note 2020-09-30 16:30:41 +02:00
resolvconf Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
rootless Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
rootlessport rootlessport: use two different channels 2020-04-29 12:35:23 +02:00
seccomp apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal Turn on More linters 2020-06-15 07:05:56 -04:00
spec pkg/spec: fix a confusing error message 2020-10-09 15:54:03 -04:00
specgen Merge pull request #7929 from kolyshkin/nits-err 2020-10-06 10:15:04 +02:00
systemd Refactor version handling in cmd tree 2020-09-18 15:13:58 -07:00
terminal Set console mode for windows 2020-06-29 09:17:55 -05:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
tracing make lint: include pkg/tracing 2020-01-14 09:54:48 +01:00
trust Lowercase some errors 2020-10-05 15:56:44 -07:00
util Merge pull request #7929 from kolyshkin/nits-err 2020-10-06 10:15:04 +02:00
varlink Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
varlinkapi Move pod jobs to parallel execution 2020-10-07 10:00:11 -04:00