-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading Xpra display and proxy servers SSH-way #3182
Comments
The problem with restarting proxy servers is that it can end up killing connections...
We may be able to teach the proxy server to exit without killing proxy instances sub-processes, but that would not work for threaded proxy instances which are required for encrypted connections (SSL and SSH).
Could do, but that's going to anger people that have custom sessions on TCP ports, as the upgrade command currently doesn't take over the socket so the new servers won't be accessible the same way the old ones were.
Sounds good. Shouldn't be too hard. |
Despite the improved support for upgrading sessions in place whilst preserving their sockets and attributes, I am not going to force upgrade sessions during package upgrades, I'm pretty sure users would be annoyed to see their sessions re-connect and there's always the risk that bugs could take down the session. |
Today I noticed that installing a new version of package via
apt
ordpkg
does not invokesystemctl daemon-reload
nor attempts to restart / upgrade proxy servers. Upgrading Xpra display servers should be trivial inpostinst
hook, butxpra upgrade :14500
yieldsand the Xpra proxy is not upgraded.
I suggest upgrading all known Xpra display server instances in
postinst
hook then restarting Xpra proxies. This will cause disconnects of cliemts, however.Another option is to let existing Xpra display servers to operate intact after update, and instruct Xpra proxy servers to restart themselves after the last client connection goes away. This is more user-friendly but delays the update of running Xpra sessions. Update delay might be important if the updated Xpra code fixes a security vulnerability, but overall this option looks preferrable to me compared to upgrade+restart one.
The text was updated successfully, but these errors were encountered: