2 ms·
So how do you cancel an inhibitor lock held by a stuck process?
by nottorp 6y ago
So how do you cancel an inhibitor lock held by a stuck process?
- CameronNemo 6y agoreboot(RB_POWER_OFF) https://man.voidlinux.org/man2/reboot.2 https://man.voidlinux.org/man2/reboot.2
- taway098123 6y agoYou 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.