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
========================================================================

Reply via email to