INC-2026-05-23-001: Prevention
What Went Well
-
journalctl -b -1immediately revealed the exact sequence:Power key pressed short. Powering off…— no ambiguity -
The fix is a single drop-in file — no package changes, no config migration
-
busctl verification confirmed the change was active without requiring a test press
What Could Be Improved
-
Audit logind defaults on fresh installs:
HandlePowerKey=poweroffis a dangerous default for laptops where the power button is adjacent to other keys or used as a wake mechanism. This should be overridden in dots-quantum stow packages. -
Never
systemctl restart systemd-logind: Usesystemctl kill -s HUP systemd-logindor reboot. Restarting logind kills all sessions. This lesson cost a session during the fix itself. -
dots-quantum should include logind drop-ins: The power button config should be part of the stowed dotfiles so it deploys automatically on new machines.
|
Key Takeaways
|
Related
-
INC-2026-05-23-002: P16g DPMS Wake Failure — the DPMS issue that drove the power button press
-
INC-2026-05-22-001: Hyprland v0.55.2 Config Breakage — concurrent upgrade incident