checkpoint-restore / criu

Checkpoint/Restore tool
criu.org
Other
2.77k stars 561 forks source link

cgroupd: unblock SIGTERM to make stop_cgroupd actually work #2427

Closed Snorch closed 1 week ago

Snorch commented 1 week ago

Sometimes due to sigblockmask inheritance cgroupd can inherit SIGTERM blocked. That will lead cgroupd ignoring SIGTERM from stop_cgroupd() and CRIU will get stuck due to waiting for never-stopping cgroupd.

I see this happening in lxc-checkpoint, also saw this in OpenVZ jenkins on cgroup_inotify00 test.

avagin commented 1 week ago

LGTM