xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 2 years ago

Last modified 17 months ago

#2537 new enhancement

failed upgrades should preserve sockets

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: future
Component: network Version: 3.0.x
Keywords: Cc:


We currently delete the previous server sockets and if the upgrade fails then we are left with no sockets..

Not easy to solve.

  • pass sockets from the old server to the new one with sendfd - would require connecting to the old server using unix-domain-sockets, which may not be possible or require authentication, but this would allow us to preserve all the different sockets
  • delay creating sockets until we have taken over the display - but if we fail to create them, then we will have to exit and leave the vfb running?
  • temporarily move them out of the way, and move them back if we fail - easier?

Other issues:

  • backwards and forwards compatibility
  • request clients to re-connect? (to the same address only?)

Change History (1)

comment:1 Changed 17 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2537

Note: See TracTickets for help on using tickets.