New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 740780 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug

Blocking:
issue 740503



Sign in to add a comment

User left in a non-recoverable state if profile removal after failed migration fails.

Project Member Reported by dspaid@chromium.org, Jul 11 2017

Issue description

If the crypto migration fails and the subsequent profile removal also fails (this can happen if the file system has corrupt data that can't be removed) the end result is that the user has a (mostly) empty invalid profile, so they can't log in to it nor can they create a new one.  The only solutions are to somehow fix the corruption (not sure this is possible in many cases) or format the stateful partition.

Its possible that other accounts on the device can still be used normally, so I don't think that just immediately wiping the stateful partition is the right way forward.

Assigning to Hiro to figure out what the UX should be for this scenario.

For reference looking at last 28 days of beta devices we see this case in ~.04% of migrations.
 
Does the corruption survive reboot?
In previous corruption cases which prevented profile removal, profiles can be removed successfully after reboot.

Comment 2 by dspaid@chromium.org, Jul 11 2017

Cc: bartfab@chromium.org
bartfab@:
Do you remember if the device was rebooted between the migration failure and when you tried removing the profile via right-click?
After migration had failed, I got a dialog with two buttons, "Report an issue" and "Restart." I hit one, then the other. The device rebooted at that point.

I did try logging in several times before attempting to remove the profile. I did not reboot again between these tries - the failed login attempts might have left something half-mounted.
Owner: dspaid@chromium.org
What's the probability and duration if we try to fix the corruption? UX would depend on these points.

Comment 5 by dspaid@chromium.org, Jul 11 2017

Owner: gwendal@chromium.org
Probability of corruption (rough estimate based on 28 days of beta traffic) is .04%.  Not sure about fixing it, gwendal had some comments on the matter over chat so assigning to him for input.

Comment 6 by uekawa@google.com, Jul 12 2017

Blocking: 740503
Components: Platform>ARC
Components: UI>Shell>Kiosk>ARC

Sign in to add a comment