You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure /run/containerd is created with correct perms
There are a couple directories that get created under the default
state directory ("/run/containerd") even when containerd is configured
to use a different location for its state directory. Create the default
state directory even if containerd is configured to use a different
state directory location. This ensure pkg/shim and pkg/fifo won't create
the default state directory with incorrect permissions when calling
os.MkdirAll for their respective subdirectories.
Signed-off-by: Erikson Tung <[email protected]>
// XXX: socketRoot in pkg/shim is hard-coded to the default state directory.
93
+
// See https://github.com/containerd/containerd/issues/10502#issuecomment-2249268582 for why it's set up that way.
94
+
// The default fifo directory in pkg/cio is also configured separately and defaults to the default state directory instead of the configured state directory.
95
+
// Make sure the default state directory is created with the correct permissions.
0 commit comments