mirror of
https://github.com/containers/podman.git
synced 2026-02-02 10:21:53 -05:00
Commit9ac5267changed 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 commit74ab2aaf9f. Fixes: #11304 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>