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

Fons Adriaensen fons at linuxaudio.org
Wed Feb 5 15:05:44 EST 2014


On Wed, Feb 05, 2014 at 09:01:09PM +0100, Karol Babioch wrote:
 
> Am 05.02.2014 20:19, schrieb David C. Rankin:
> >   However with systemd, using "systemctl reboot" the ssh session hangs
> > until the remote host reboot or a timeout occurs.
> 
> you probably want to follow the following discussion(s):
> 
> - https://bugs.archlinux.org/task/31250
> - https://bbs.archlinux.org/viewtopic.php?pid=1166093
> 
> So, this is actually known and there seems to be no "clean" solution.

I had the same problem with remote poweroff some months ago. 
The solution I used was to create a delayed systemd target.

Ciao,

-- 
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)



More information about the arch-general mailing list