From Fedora Project Wiki
Description
This test case ensures that system shutdown does not wait for containers that do not respect SIGTERM.
Setup
Install the pre-release version of Fedora with Podman 5.2 on a bare metal system.
How to test
- Create a container that does not respect SIGTERM:
podman run --stop-signal SIGKILL -d fedora sleep +inf
- Restart the system.
- Observe the system shutdown process.
Expected Results
The following must be true to consider this a successful test run:
- The container is created and runs in the background.
- The system restarts without waiting for the container to timeout during shutdown.
- There is no delay in the system shutdown process due to the container.
Optional
Optionally, test with multiple containers that do not respect SIGTERM to ensure consistent behavior.