Files
containerd/core/runtime
Samuel Karp 48116fa596 cri: validate CRIU availability and version early
Perform an early validation check on both container checkpoint and
restore paths to fail-fast if the CRIU binary is missing or is older
than the minimum required version (3.16.0).

To support runtime-configured environments, the validation respects the
custom PATH from the shim manager environment if configured, skipping
any relative paths to avoid incorrect daemon-relative resolution. If not
configured, it falls back to a standard system PATH lookup. The check
result is cached using sync.Once to prevent redundant process spawning.

Assisted-by: Antigravity
Signed-off-by: Samuel Karp <samuelkarp@google.com>
(cherry picked from commit 186397511b)
Signed-off-by: Samuel Karp <samuelkarp@google.com>
2026-07-14 16:58:03 -07:00
..
2024-01-17 09:58:04 -08:00
2024-05-02 11:03:00 -07:00
2024-01-17 09:58:04 -08:00
2024-01-25 22:18:45 -08:00
2024-05-02 10:52:03 -07:00