Skip to content
Commit 7f7b7865 authored by Donald Buczek's avatar Donald Buczek Committed by Zbigniew Jędrzejewski-Szmek
Browse files

cgroup: Continue unit reset if cgroup is busy

When part of the cgroup hierarchy cannot be deleted (e.g. because there
are still processes in it), do not exit unit_prune_cgroup early, but
continue so that u->cgroup_realized is reset.

Log the known case of non-empty cgroups at debug level and other errors
at warning level.

Fixes https://github.com/systemd/systemd/issues/12386

(cherry picked from commit 0219b352)
parent a4c15ff3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment