On 23/12/2022 09:20, Mattia Verga via devel wrote:
I know this is way harder, but the right approach would be having a way to tell systemd what processes can be killed and what other processes must not be forced off in any case, then display a user friendly message which inform the user that the system cannot be forced off ATM "because I'm doing this or that". In the worst case, the user can choose to pull the plug themselves.
I agree. Terminating the PackageKit service while updates are being installed can result in a broken system.