Crostini startup can hang at the StartVm phase |
|||||
Issue descriptionIf the user has already started a VM via crosh, for instance, then CrostiniManager will hang forever on the next attempt to launch Terminal or an App. This is because it waits for a TremplinStartedSignal from the VM that already happened and won't happen again. We can solve this by returning a "RUNNING" status from in the StartVmResponse, in which case CrostiniManager can just use the VM without waiting for Tremplin to start.
,
Sep 27
,
Sep 27
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ca393e722b94ac0f6f84597a459f981d5e23aaa3 commit ca393e722b94ac0f6f84597a459f981d5e23aaa3 Author: Nicholas Verne <nverne@chromium.org> Date: Thu Sep 27 08:14:00 2018 CrostiniManager uses status for StartTerminaVm. Only if the response proto status is "STARTING" do we wait for the TremplinStartedSignal before continuing. Bug: 884576 Change-Id: Id02a5863c2971329991d47bf156639fdc7f281bd Reviewed-on: https://chromium-review.googlesource.com/1248065 Commit-Queue: Nicholas Verne <nverne@chromium.org> Reviewed-by: Ryo Hashimoto <hashimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#594629} [modify] https://crrev.com/ca393e722b94ac0f6f84597a459f981d5e23aaa3/chrome/browser/chromeos/crostini/crostini_manager.cc [modify] https://crrev.com/ca393e722b94ac0f6f84597a459f981d5e23aaa3/chrome/browser/chromeos/crostini/crostini_share_path_unittest.cc [modify] https://crrev.com/ca393e722b94ac0f6f84597a459f981d5e23aaa3/chrome/browser/ui/views/crostini/crostini_installer_view_browsertest.cc [modify] https://crrev.com/ca393e722b94ac0f6f84597a459f981d5e23aaa3/chromeos/dbus/fake_concierge_client.cc
,
Sep 28
,
Oct 8
nverne@ Please provide verification steps. Thanks!
,
Oct 8
This is a bit unscientific, but: Old broken build (with Crostini already installed, then reboot): 1. Open crosh (ctrl-alt-t) 2. type "vmc start termina" 3. Go to App Launcher and launch Termina or some other Linux app 4. Spinner appears and spins forever (hang) New, not broken 4. Spinner appears for a while but eventually app comes up and spinner goes away.
,
Oct 8
Verified on 11137.0.0, 71.0.3567.0 on eve. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by bugdroid1@chromium.org
, Sep 20