Plasma probably checks logind's 'CanHibernate' which triggers the check of whether the kernel reports hibernation as available in /sys/power/disk. Merely *looking* at that file causes the kernel to check lockdown status so that it could answer whether it's in fact available or not.
Boot with the 'nohibernate' or 'hibernate=no' options. The kernel's hibernation_available() checks those first before doing the security_locked_down(LOCKDOWN_HIBERNATION) check (which causes the spam). On Sat, Jan 17, 2026 at 8:41 PM Ian Pilcher <[email protected]> wrote: > I run Fedora 43 with KDE Plasma. Every time I log in, my journal is > flooded with the following message. > > kernel: Lockdown: systemd-logind: hibernation is restricted; see man > kernel_lockdown.7 > > This is a desktop system, so I don't care about hibernation. > > How can I stop systemd-logind from triggering these messages? > > I've already done the following. > > * Masked the following targets: > - hibernate.target > - hybrid-sleep.target > - sleep.target > - suspend.target. > > * Set the following options in /etc/systemd/logind.conf: > - HandleSuspendKey=ignore > - HandleSuspendKeyLongPress=ignore > - HandleHibernateKey=ignore > - HandleHibernateKeyLongPress=ignore > - HandleLidSwitch=ignore > - HandleLidSwitchExternalPower=ignore > - HandleLidSwitchDocked=ignore > > * Masked the Plasma powerdevil service for my user. > > What in the world do I need to do to get logind to stop triggering the > message? > > -- > ======================================================================== > If your user interface is intuitive in retrospect ... it isn't intuitive > ======================================================================== > >
