core/unit: allow overriding an ongoing freeze operation
authormsizanoen1 <msizanoen@qtmlabs.xyz>
Wed, 7 Dec 2022 13:46:01 +0000 (20:46 +0700)
committermsizanoen1 <msizanoen@qtmlabs.xyz>
Wed, 7 Dec 2022 23:54:53 +0000 (00:54 +0100)
commit3d19e122cfe341b28dfcb58f1aac829c122da569
tree36d1c476bbe4bd4f1cc4a8406511c9cf6bf17b02
parenta14137d90e5f50ad8627c85ae94731a5c9948227
core/unit: allow overriding an ongoing freeze operation

Sometimes a freeze operation can hang due to the presence of kernel
threads inside the unit cgroup (e.g. QEMU-KVM). This ensures that the
ThawUnit operation invoked by systemd-sleep at wakeup always thaws the
unit.
src/core/dbus-unit.c
src/core/dbus-unit.h
src/core/unit.c
src/libsystemd/sd-bus/bus-common-errors.h