Files
containerd/plugins/content/local
ningmingxiao 5f0f0dcaac content: ensure root directory exists before checking fs-verity support
Currently, fs-verity support detection fails on fresh containerd
installations because the content store root directory
(io.containerd.content.v1.content) doesn't exist yet. This directory
is only created when pulling images, causing checker to
always be false on new hosts.

The IsSupported() function attempts to create a temporary directory
within rootPath to test fs-verity support, but fails when rootPath
doesn't exist, returning an error that is silently ignored.

Fix this by ensuring the root directory exists before performing
the fs-verity support check in NewLabeledStore().

Signed-off-by: ningmingxiao <ning.mingxiao@zte.com.cn>
2026-01-12 09:58:11 -06:00
..
2024-10-23 20:40:08 +02:00
2024-01-25 22:18:45 -08:00