xpra icon
Bug tracker and wiki

Opened 13 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 (0)

Note: See TracTickets for help on using tickets.