Good afternoon everyone!
I have a cronjob that calls a script that checks if the notebook battery is less than or equal to a certain percentage, if so, it executes: systemctl suspend
For this to work, I have to define a polkit rule. I have it defined and everything worked fine, however, I recently updated the system and now systemctl suspend is no longer executed successfully. In journalctl I see:Is anyone else experiencing this too? Did something change in the recent update?
PS: I don't know if I created the topic in the right place, if not, I apologize. Thanks for any help!
I have a cronjob that calls a script that checks if the notebook battery is less than or equal to a certain percentage, if so, it executes: systemctl suspend
For this to work, I have to define a polkit rule. I have it defined and everything worked fine, however, I recently updated the system and now systemctl suspend is no longer executed successfully. In journalctl I see:
Code:
kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
PS: I don't know if I created the topic in the right place, if not, I apologize. Thanks for any help!
Statistics: Posted by rhuanpk — 2024-07-06 15:47 — Replies 3 — Views 49