symbolic links make snap apps silently crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
this is a generic bug report, referring to a seen more than once problem
several apps are crashing without notice. in my system this happens at least to Bitwarden and Ferdium
the apps run correctly the first time, after install, and then they do not run anymore, quietly crashing
in various forums this have been pointed out to symbolic links, that makes apparmor unhappy. in the same forums most suggested solutions is to transform the symbolic links to binds
I'm not discussing whether this is a forced necessity (I'm not a security expert)
but since this is a sort of common issue, that comes up again and again, in several apps, the crash should be verbose, and explaining which are the offending symbolic links, and delivering suggestions in how to fix the issue
besides, the issue should be detected during the first run. the fact that the first run is successful, and the second and following runs are not, is misleading
I can provide my log for the bug I'm referring, but this is not to resolve my bug, but to resolve a snap generic behavior (crashing quietly when apparmor disturbing symbolic links are present)
besides
I'm moving from snap (which is my preferred packaged app system) to flatpak because of this issue. I cannot blindly transform all my symbolic links to mnt binds hoping to ease the snap problems. it is simpler to me to move to a different system altogether