Chromad: Reloading policies does not fetch device policy (at first login after enrollment) |
||||||||||||
Issue descriptionRepro: Click "Reload policies" in Chrome, check /var/log/messages and notice that only user policy is fetched. Tested with Chrome 57.0.2983.0 (~Jan 16, 2017).
,
Jan 17 2017
It works on a Linux build (ToT=57.0.2985.0). Later I'll take a look on a real device.
,
Jan 19 2017
Works for me on 57.0.2984.0 / 9198.0.0 (chell canary). Does ot still repro for you?
,
Jan 23 2017
,
Jan 25 2017
I tested on 58.0.2990.0 (built image with latest code). Reloading policy in Chrome only reloads user policy.
,
Jan 25 2017
,
Jan 26 2017
,
Jan 26 2017
Testing on 58.0.2990.0 / 9215.0.0 (with latest authpolicyd). In guest mode, there's device policy fetch both during login and when clicking "Refresh policies". And the same happens for a real user, again both during login and when hitting "Refresh policies": 2017-01-26T14:21:43.342348+01:00 INFO authpolicyd[4461]: Received 'RefreshDevicePolicy' request [...] 2017-01-26T14:21:44.950388+01:00 INFO authpolicyd[4461]: Received 'RefreshUserPolicy' request Back to Lutz again. Please provide detailed repro steps.
,
Jan 26 2017
After offline discussion: The issue only repros for the very first login after enrollment. (Reducing priority because of limited scope.)
,
Jan 31 2017
,
Jan 31 2017
,
Apr 12 2017
Offline discussion with Roman: DevicePolicyManager doesn't get started after enrollment.
,
May 2 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ac371d7a8f048986b667636aba153714157dc4e0 commit ac371d7a8f048986b667636aba153714157dc4e0 Author: tnagel <tnagel@chromium.org> Date: Tue May 02 10:03:07 2017 Restart browser after Chromad enrollment The current factoring of BrowserPolicyConnectorChromeOS only allows to swap out the device policy provider at initialization time, not at run time. As a consequence, we end up with the wrong device policy provider after Chromad enrollment. A browser restart is the easiest way to fix this. BUG= 681817 Review-Url: https://codereview.chromium.org/2842163002 Cr-Commit-Position: refs/heads/master@{#468592} [modify] https://crrev.com/ac371d7a8f048986b667636aba153714157dc4e0/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc
,
May 18 2017
,
Jan 22 2018
|
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by tnagel@chromium.org
, Jan 17 2017