diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-08-24 13:58:06 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-08-25 10:08:41 +0200 |
commit | 822818287596c53a1b499d4fbd7cd1e8a60098a4 (patch) | |
tree | 4ce6b86bc2cf17da0e1b84c4c01beeeb0164fd54 /go.mod | |
parent | 8809aed5647b61abb14970d409ff7c99c7fbdc34 (diff) | |
download | podman-822818287596c53a1b499d4fbd7cd1e8a60098a4.tar.gz podman-822818287596c53a1b499d4fbd7cd1e8a60098a4.tar.bz2 podman-822818287596c53a1b499d4fbd7cd1e8a60098a4.zip |
generate systemd: use --cidfile again
Commit 9ac5267 changed the type of the generated systemd units from
`forking` to `notify`. It further stopped using `--cidfile` and instead
intended systemd to take care of stopping the container, which turned
out to be a bad idea.
Systemd will send the stop/kill signals to conmon which in turn may exit
non-zero, depending on the signal, and ultimately breaking container
cleanup.
Hence, we need to use --cidfile again and let podman stop and remove the
container to make sure that everything's in order.
Backport of commit 74ab2aaf9f27e1495a74c37932a634c82af9a57b.
Fixes: #11304
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions