Server restarted and message: "Power key pressed"/"systemd-logind: Power key pressed." get logged

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content