diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-08-13 12:53:28 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-08-20 12:16:52 -0400 |
commit | cb4c5fc9c262f14c935e843224ee80e098d58224 (patch) | |
tree | 4bb05014e72870a6c4bc6f54fdedc015254bea6a /vendor/modules.txt | |
parent | 5e50ba3ecbdd738679849d7a86fef0c4ab7f109d (diff) | |
download | podman-cb4c5fc9c262f14c935e843224ee80e098d58224.tar.gz podman-cb4c5fc9c262f14c935e843224ee80e098d58224.tar.bz2 podman-cb4c5fc9c262f14c935e843224ee80e098d58224.zip |
podman.service: use sdnotiy
Commit 2b6dd3fb4384 set the killmode of the podman.service to the
systemd default which ultimately lead to the problem that systemd
will kill *all* processes inside the unit's cgroup and hence kill
all containers whenever the service is stopped.
Fix it by setting the type to sdnotify and the killmode to process.
`podman system service` will send the necessary notify messages
when the NOTIFY_SOCKET is set and unset it right after to prevent
the backend and container runtimes from jumping in between and send
messages as well.
Fixes: #7294
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/modules.txt')
-rw-r--r-- | vendor/modules.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/modules.txt b/vendor/modules.txt index 17c195326..a3d21b273 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -200,6 +200,7 @@ github.com/containers/storage/pkg/unshare github.com/coreos/go-iptables/iptables # github.com/coreos/go-systemd/v22 v22.1.0 github.com/coreos/go-systemd/v22/activation +github.com/coreos/go-systemd/v22/daemon github.com/coreos/go-systemd/v22/dbus github.com/coreos/go-systemd/v22/internal/dlopen github.com/coreos/go-systemd/v22/journal |