|
|
|
|
|
by amluto
1340 days ago
|
|
No, but the issue here seems to be a problem with the underlying snap system, not with the concept. It should be possible to have multiple containers that, when run, access the same persistent data. So the workflow would be: 1. Install and start Firefox. There is one container and one directory full of profiles. 2. Start the upgrade. This creates a second Firefox installation (container) sharing the same profile directory. 3. Try to run Firefox without quitting the old one. Does nothing because the runtime is smart enough to know that the old one is running. Maybe pop up a message suggesting restarting Firefox. 4. Quit Firefox. Start it again. The new one runs. All the data is still there. 5. The old installation goes away. The runtime has plenty of flexibility in how to make this work. There could be multiple containers. There could be one container with multiple parallel versions. There could be one container with a staged upgrade that can swap in essentially instantaneously once the container is idle (although this may fall apart on multi-user systems or where the containerized program regularly has multiple running copies of itself at once, e.g. a program like bash). But the fact that snap apparently has trouble with this seems a bit embarrassing. |
|
Every critical piece of information is available to Snapd, and yet, they have chosen the wrong and broken implementation.