Server restarted and message: "Power key pressed"/"systemd-logind: Power key pressed." get logged
Issue
- System got restarted and after a review of the logs before the reboot we can see a line like this around the time of the reboot:
Dec 20 08:03:04 AM localhost systemd-logind: Power key pressed.
[...]
Dec 20 08:05:19 localhost systemd-logind: System is powering down.
- System reboot occurred with the following log.
Dec 20 08:29:33 localhost systemd-logind: System is rebooting.
Environment
- Red Hat Enterprise Linux (RHEL), all versions
- Red Hat CoreOS (RHCOS), all versions
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.