-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Cgroup v2 Kernel 5.14+ implements cgroup.kill which does the same thing that we try to do in signalAllProcesses
runc/libcontainer/init_linux.go
Line 499 in 8772c4d
| func signalAllProcesses(m cgroups.Manager, s os.Signal) error { |
but in the kernel and reliably.
Since we're using signalAllProcesses mostly to send SIGKILL to container (with the exception of runc kill --all), this needs to be moved to cgroup managers to benefit from the new feature.
81981266