I am using an old laptop as server. The internal screen has been removed. When no external display is connected, the system quickly goes to sleep mode. To avoid this I had masked sleep.target and suspend.target, which resulted in the described repeated "systemd-logind: hibernation is restricted; see man kernel_lockdown.7" and 80% load by systemd-logind.
I could avoid suspend without triggering this issue by modifying /etc/systemd/logind.conf:
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
HandleHibernateKey=ignore
I am using an old laptop as server. The internal screen has been removed. When no external display is connected, the system quickly goes to sleep mode. To avoid this I had masked sleep.target and suspend.target, which resulted in the described repeated "systemd-logind: hibernation is restricted; see man kernel_lockdown.7" and 80% load by systemd-logind.
I could avoid suspend without triggering this issue by modifying /etc/systemd/ logind. conf: ey=ignore eKey=ignore h=ignore eKey=ignore
HandleSuspendK
HandleHibernat
HandleLidSwitc
HandleHibernat