spiegel_podman/pkg/systemd
Valentin Rothberg c4ebe9e2ad notifyproxy: fix container watcher
The notify proxy has a watcher to check whether the container has left
the running state.  In that case, Podman should stop waiting for the
ready message to prevent a dead lock.  Fix this watcher but adding a
loop.

Fixes the dead lock in #16076 surfacing in a timeout.  The underlying
issue persists though.  Also use a timer in the select statement to
prevent the goroutine from running unnecessarily long

[NO NEW TESTS NEEDED]

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-10-25 10:12:29 +02:00
..
define generate systemd: handle --restart 2021-09-07 13:58:11 +02:00
generate generate systemd: set --stop-timeout for stopping containers 2022-10-14 10:33:26 +02:00
notifyproxy notifyproxy: fix container watcher 2022-10-25 10:12:29 +02:00
parser move quadlet packages into pkg/systemd 2022-10-19 13:38:27 +02:00
quadlet move quadlet packages into pkg/systemd 2022-10-19 13:38:27 +02:00
activation.go pkg/systemd: don't require LISTEN_FDNAMES for socket activation 2021-06-24 09:01:39 -06:00
activation_test.go pkg/systemd: don't require LISTEN_FDNAMES for socket activation 2021-06-24 09:01:39 -06:00
dbus.go enable gocritic linter 2022-04-26 18:12:22 +02:00