gnome-sessions's poweroff, suspend ignores systemd-inhibit, while the inhibit works with `systemctl poweroff`
Hello there! Not sure if this is even a bug. Is the gnome-session supposed to ignore systemd-inhibit? as here in this video on a fedora image : \
- make nano inhibit all with
systemd-inhibit nano
- nano runs, verify status of program as inhibitor with
systemd-inhibit
on another tab - do
systemctl poweroff
, it is inhibited - do shutdown from the gnome-session, it just turns off
I had heard that the gnome-session uses logind to shutdown, so it's supposed to follow what is inhibited by systemd-inhibit, from a GNOME Discourse forum. So is this expected or unexpected behaviour?