[snap] Migration script can be run multiple times in parallel
Bug #1898415 reported by
Alberto Mardegan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I just updated to Ubuntu 20.04, and when I started Chromium nothing happened. Since I am a dumb user, I clicked the Chromium icon three times, thinking that maybe the first clicks hadn't been registered.
Chromium finally started after a while, but at that point I noticed that there were other two instances of the wrapper script running, first both doing a `du` and later a `cp` of the Chromium config into the snap/ folder.
The script should probably check if another instance is already running and not try to migrate all the chrome config again.
To post a comment you must log in.
Hi Alberto, and thanks for the bug report!
You're right, the launcher script should shield against running the migration phase more than once.