Re:Systemd Inhibitor Locks Deep Dive
by nottorp on Saturday April 10, 2021 @06:24PM
(#26765757)
So how do you cancel an inhibitor lock held by a stuck process?
[ Parent
| on HN ]
Re:Systemd Inhibitor Locks Deep Dive
by taway098123 on Saturday April 10, 2021 @06:45PM
(#26765947)
You just kill the process, which causes the file descriptor to close. Cancelling the inhibitor lock by other means wouldn't do much, there's no way to get out of that situation without forcibly shutting the process down or disrupting its state.