containerd: `failed to create shim task: OCI runtime create failed: ... expected cgroupsPath to be of format "slice:prefix:name"`
AdvancedTroubleshootingSecurity, rootless, Podman and containerd
Answer
Likely causes → Mismatch: kubelet uses systemd cgroup driver while containerd/runc uses cgroupfs (or vice versa).
Diagnose →
grep -n SystemdCgroup /etc/containerd/config.toml
grep cgroupDriver /var/lib/kubelet/config.yaml
Fix → Set SystemdCgroup = true under [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] (or the v3 config equivalent) and cgroupDriver: systemd; restart both.
Prevent → Align drivers when bootstrapping nodes (kubeadm defaults).
More on Security, rootless, Podman and containerd
Rootless Docker: `dockerd-rootless.sh` fails with `newuidmap: write to uid_map failed: Operation not permitted`IntermediateRootless: `rootlesskit: failed to ... listen tcp 0.0.0.0:80: bind: permission denied`BeginnerRootless Docker stops when you log out of SSH.BeginnerRootless containers: `Error: ... cannot set up namespace using "/usr/bin/newuidmap": should have setuid or have filecaps setuid` (Podman).IntermediatePodman: `Error: short-name "nginx" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"`BeginnerPodman rootless: `Error: cannot find newuidmap` / ping fails inside container: `ping: permission denied (are you root?)`.Intermediate