Mustash: Can't login as guest user |
||||
Issue descriptionWhen I try logging in as guest running chrome with --mus or --mash on the device, I get a DBus error: [1199:1199:0609/143247.087488:ERROR:object_proxy.cc(573)] Failed to call method: org.chromium.SessionManagerInterface.RestartJob: object_path= /org/chromium/SessionManager: org.freedesktop.DBus.Error.AccessDenied: Sender is not browser. [1199:1199:0609/143247.087510:ERROR:session_manager_client.cc(617)] Failed to call RestartJob Some info from derat@: The code's here: https://cs.corp.google.com/chromeos_internal/src/platform2/login_manager/session_manager_service.cc?q=%22Sender+is+not+browser%22&sq=package:%5Echromeos_(internal%7Cpublic)$&dr=C&l=364 Some background: https://codereview.chromium.org/6239002 https://bugs.chromium.org/p/chromium/issues/detail?id=427111 https://chromium-review.googlesource.com/c/226373/
,
Jun 15 2017
Is chrome --mus running a background service manager in the main browser process, or a separate parent service manager process (like in the old mash_runner days)? What about chrome --mash?
,
Jun 15 2017
,
Jun 15 2017
I assume we don't actually want that in the "mushrome" case at least
,
Jun 15 2017
Ken, service_manager is currently in its own separate process (main process launched by chrome --mus), and the browser process (i.e. content_packaged_services process) is the child of it - is this not correct? When you say we don't want that in the "mushrome" case - what do you mean?
,
Jun 15 2017
That is correct. I thought the mushrome config was to have mus+ash embedded in the browser process, in which case having a separate service manager seems like a pointless exercise which adds unnecessary complexity. Of course if that's not what mushrome is, then you can ignore that comment. I have trouble keeping track of what the codenames mean and/or are supposed to mean. :)
,
Jun 15 2017
Yes, the current plan for Mushrome is to have Mus Window Server, Ash, and Chrome all in the same process. Display Compositor/GPU Service ("viz" is the new name) would still be in a separate process though (at least when we are done with WS/GPU split). Do you think that would warrant keeping the service_manager separate as well? We haven't discussed moving the service_manager in-process until now.
Additional, moving WS into the same process as Chrome and Ash, is proving to be a bit of a challenge because of various overlapping singletons and thread safety restrictions. Perhaps moving service_manager in-process would be easier, but I am a little paranoid :)
,
Jun 15 2017
The decision comes down to one simple constraint: do you want any service to be able to run without the browser process being up. If not, there is no point in making the service manager a separate process. Service Manager is not a very complex component and it has no such issues (we already run one in-process in production Chrome). Changing the behavior for mushrome is not particularly difficult: it requires removing a few lines of special-case handling of "--mus" in the startup code, and probably updating a catalog somewhere.
,
Jun 15 2017
Ok, then I guess it makes sense to run service manager in-process in Mushrome. That should also fix the issue described in this bug for the Mushrome case.
,
Nov 21 2017
,
Aug 15
I'm closing out assuming this is stale. |
||||
►
Sign in to add a comment |
||||
Comment 1 by derat@chromium.org
, Jun 14 2017