Files
runc/libcontainer/cgroups
Zoe 62963fef9f libct/cg/sd/v1: do not update non-frozen cgroup after frozen failed.
In code we have frozen the cgroup to avoid the processes get
an occasional "permission denied" error, while the systemd's application of device
rules is done disruptively. When the processes in the container can not
be frozen over 2 seconds (which defined in fs/freezer.go),
we still update the cgroup which resulting the container get an occasional
"permission denied" error in some cases.

Return error directly without updating cgroup, when freeze fails.

Fixes: #3803

Signed-off-by: Zoe <hi@zoe.im>
2023-06-12 10:10:04 +08:00
..
2023-01-31 15:19:05 +08:00
2021-10-14 13:46:02 -07:00
2022-03-22 23:44:31 -07:00
2022-05-18 11:17:08 -07:00
2023-03-31 13:33:00 +11:00
2023-04-04 11:19:25 -07:00