snapd should configure /snap/$pkg/current on run instead of install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
Currently when snapd installs a package it creates a mount point to the snap on `/snap/$pkg/$rev` and then it creates a symbolic link to the latest version of that package at `/snap/
Probably the most pressing of those problems is that application authors use that as a crutch, and evaluate it while the program is running. Which means that an application that is upgraded while it is running could end up using files from a different version of the files than when it is started. This causes many applications to crash in weird ways.
There are better ways to implement this with upgrade hooks and other things, but generally they haven't been popular with application developers and there are more drastic work arounds (disabling updates) that are encouraged in forums.
My suggestion for solving this is that `/snap/