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

  1. Create a container that does not respect SIGTERM:
 podman run --stop-signal SIGKILL -d fedora sleep +inf
  1. Restart the system.
  2. Observe the system shutdown process.

Expected Results

The following must be true to consider this a successful test run:

  1. The container is created and runs in the background.
  2. The system restarts without waiting for the container to timeout during shutdown.
  3. 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.