Why calling reboot in SSH session hangs the terminal?

Solution Verified - Updated -

Issue

  • The SSH sessions do not automatically close when a users executes reboot command.
  • The user have to wait for it to kill itself with a broken pipe, or close the terminal completely.

    # init 6
    PolicyKit daemon disconnected from the bus.
    We are no longer a registered authentication agent.
    Write failed: Broken pipe
    
  • Powering off remote node hangs ssh session on client end.

Environment

  • Red Hat Enterprise Linux 7.2
  • systemd-219-19.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.