Skip to content

[Regression in main (2023-09-29)]: containerd-rootless.sh doesn't start up: failed to watch cni conf dir /etc/cni/net.d: permission denied #9163

@AkihiroSuda

Description

@AkihiroSuda

containerd-rootless.sh (from nerdctl v1.6.0) no longer works with the main branch of containerd:

$ containerd-rootless.sh
...
WARN[2023-09-29T21:30:13.375910049+09:00] failed to load plugin io.containerd.grpc.v1.cri  error="failed to create CRI service: failed to create cni conf monitor for default: failed to watch cni conf dir /etc/cni/net.d: permission denied"
containerd: plugin failed after registering readiness io.containerd.grpc.v1.cri: failed to create CRI service: failed to create cni conf monitor for default: failed to watch cni conf dir /etc/cni/net.d: permission denied
[rootlesskit:child ] error: command [/usr/local/bin/containerd-rootless.sh] exited: exit status 1
[rootlesskit:parent] error: child exited: exit status 1

Regression in:

A workaround would be to disable CRI plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions