containerd / containerd/cgroups

call control.Delete() occur err=cgroups: unable to remove path "/sys/fs/cgroup/devices/test"

Open
#148 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
1.2k
Forks
252
PR merge metrics
No merged PRs in 30d

Description

I write a test,when I call control.Delete() , it occur error:
err=cgroups: unable to remove path "/sys/fs/cgroup/devices/test"
inside
err= unlinkat /sys/fs/cgroup/devices/test/tasks: operation not permitted
I don't know why, when i remove control.Add(cgroups.Process{Pid: 1234}), it has not error。
thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.