[snap] Migration script can be run multiple times in parallel

Bug #1898415 reported by Alberto Mardegan
6
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.

Tags: snap
Revision history for this message
Olivier Tilloy (osomon) wrote :

Hi Alberto, and thanks for the bug report!

You're right, the launcher script should shield against running the migration phase more than once.

Changed in chromium-browser (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
tags: added: snap
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.