From 0d37ad2683f32544ac565e326746c2e76418ef28 Mon Sep 17 00:00:00 2001 From: Chris Ayoub Date: Sat, 1 Aug 2026 21:43:45 +0000 Subject: [PATCH] ctr: register EROFS fsview ctr resolves named users and groups for run and task exec in the client process. Since EROFS fsview support moved behind registration, the ctr application does not link the handler and falls back to a temporary host mount. Register the handler with the ctr application so EROFS snapshots can be inspected directly. Non-EROFS mounts continue through the existing handlers unchanged. Signed-off-by: Chris Ayoub --- cmd/ctr/app/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/ctr/app/main.go b/cmd/ctr/app/main.go index d03ba9b94a2f9..47a56d2fc4b3c 100644 --- a/cmd/ctr/app/main.go +++ b/cmd/ctr/app/main.go @@ -43,6 +43,9 @@ import ( versionCmd "github.com/containerd/containerd/v2/cmd/ctr/commands/version" "github.com/containerd/containerd/v2/defaults" "github.com/containerd/containerd/v2/pkg/namespaces" + + // Register the EROFS fsview handler for client-side OCI user resolution. + _ "github.com/containerd/containerd/v2/plugins/mount/fsview/erofs" "github.com/containerd/containerd/v2/version" )