Re:SpaceX can't test fire its Falcon Heavy rocket due to the...
by greglindahl on Monday January 22, 2018 @03:09AM
(#16202719)
I can't use Safari until I reboot to install a critical security update. Yeah, no, I have a lot of ssh sessions open. And how is it possible that a browser on Unix requires a reboot to update?
[ Parent
| on HN ]
Re:SpaceX can't test fire its Falcon Heavy rocket due to the...
by mkl on Monday January 22, 2018 @03:27AM
(#16202807)
That's what tmux and screen are for. Windows 10's infuriating restart requirements don't affect my ssh sessions.
Re:SpaceX can't test fire its Falcon Heavy rocket due to the...
by ygra on Monday January 22, 2018 @03:33AM
(#16202838)
Isn't it generally a bad idea to rely on everything (power, network, OS) to remain stable to keep an SSH session open, just so processes on the other end don't get terminated?
Re:SpaceX can't test fire its Falcon Heavy rocket due to the...
by mkl on Monday January 22, 2018 @03:46AM
(#16202891)
Yes, that's what tmux and screen are for. You run one of them on the server and work within it, and then it doesn't matter what happens to the client or connection, your server processes are fine.
Re:SpaceX can't test fire its Falcon Heavy rocket due to the...
by r3bl on Monday January 22, 2018 @06:41AM
(#16203634)
There's also mosh[0], as an SSH replacement that is designed to keep the session open regardless of how long you lose the connection.
Re:SpaceX can't test fire its Falcon Heavy rocket due to the...
by greglindahl on Monday January 22, 2018 @04:04AM
(#16202969)
So it's OK for a Safari update to require a reboot because you use tmux?
Re:SpaceX can't test fire its Falcon Heavy rocket due to the...
by mkl on Monday January 22, 2018 @04:06AM
(#16202981)
Yes, you can reboot or disconnect the client all you want. tmux keeps your processes on the server safe, and you can ssh in and go back into your completely preserved tmux session.
Or are you randomly trying to connect tmux and Safari? Safari's update requirements are totally unrelated, but tmux can mitigate some of the problems they cause.
Re:SpaceX can't test fire its Falcon Heavy rocket due to the...
by greglindahl on Monday January 22, 2018 @04:19AM
(#16203045)
You're the one connecting tmux and Safari. My complaint is that a browser update should never require a reboot, especially for a browser that I never use.
I actually use screen on my laptop, but this is my workstation. It breaks rarely enough that also using screen on it doesn't make sense for me. But thanks for asking.
Re:SpaceX can't test fire its Falcon Heavy rocket due to the...
by dkersten on Monday January 22, 2018 @05:30AM
(#16203350)
No updates besides kernel updates should require a reboot, yet here we are... Its pretty rare that I have to reboot my mac though, at least compared to my windows experience.
But above you said that you can’t reboot because you have too many ssh sessions open. Mkl’s suggestion of using tmux or screen would certainly help with solving the specific problem you mentioned preventing you from rebooting.