Skip to content
Discussion options

You must be logged in to vote

Soooo, long story short…

Did a lot of digging around and inside and 've found the culprit: podman generated libpod scopes.

When the machine is going down, libpod scopes (there is one for each running container) are triggered for stop. That works fine. The libpod scope invokes podman stop which sends an appropriate signal to the first process of the container, thus triggering the shutdown sequence. However, the libpod scope does not respect any timeouts (the podman generate systemd service – this is expected – nor podman --stop-timeout neither TimeoutStopSec on the libpod scope). Instead it immediately starts firing KILL signals all around effectively breaking graceful shutdown.

To get rid…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hadrabap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant