So I was finally able to reproduce this. Unfortunately, I have no idea what the root cause is. I powered off my machine at least thirty times and tested. About half the time it’s working, the other times not.
When I run sudo journalctl -f
in the terminal and then press the power button, I always see a message stating that the power button was pressed (i.e. the event is received) but on some boots, gnome-session-binary
shows the shutdown dialog and it’s recorded in the journal; on other boots, nothing happens after the button event is recorded.
I even compared the journal entries from the working and non-working boots, but didn’t see any obvious differences.
Will keep digging around, but does anyone else have a hint or suggestion?