On Thu, Mar 9, 2023 at 11:48 AM cagsm <cumandgets0mem00f@gmail.com> wrote:
slightly? related? plain simple leap 15.4 on a notebook with uefi and secureboot:
this thread turned my attention to this whole lockdown kernel stuff, and now I am wondering what is amiss with leap 15.4 and this rather new notebook as it regularly prints in dmesg -e
[ +0.002718] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
just when simply using it live and turned on. not sleeping the machine, not hibernating, just during uptime. not using proprietary stuff or anything. dont quite understand what this complaint is.
It is printed every time some program tries to access /sys/power/disk or /sys/power/resume (exact file slipped my mind) and at least systemd-logind does it as part of detecting whether hibernation is supported. And there could be other programs doing the same. I was always annoyed by this noise; it should have been printk_once. I have not tried if restricting available sleep modes in sleep.conf makes it go away.