[arch-general] How to reboot remotely without hanging ssh session?

Jan Alexander Steffens jan.steffens at gmail.com
Fri Feb 7 13:21:33 EST 2014

On Fri, Feb 7, 2014 at 1:47 AM, David C. Rankin
<drankinatty at suddenlinkmail.com> wrote:
> Thanks for everyone's response.
>   All good points, there isn't any need for an immediate reboot, and my point
> wasn't to complain about the behavior. As I try and make friends with systemd, I
> like to learn why things do what they do. The poweroff.timer solution is
> attractive and I like the (subshell) approach (fast, simple and readily
> available after kernel updates). I don't pretend to understand all the
> nitty-gritty that plays into difficulty ironing out ordering between
> systemd-user-sessions.service and network.target processing, but slowly the
> basics are sinking in.

The session shutdown logic got a lot of fixes in systemd git, especially today.

I'd expect this to work properly in systemd 209.

More information about the arch-general mailing list