Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Issue 2244443002: chromeos: Avoid cryptohome D-Bus log spam at boot. (Closed)

Created:
4 years, 4 months ago by Daniel Erat
Modified:
4 years, 3 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, davemoore+watch_chromium.org, stevenjb
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Avoid cryptohome D-Bus log spam at boot. Make EnterpriseInstallAttributes defer running its consistency check (which calls cryptohome's TpmIsOwned method over D-Bus) until the cryptohome service is available. Also fix an apparent bug where the check was retried five times the intended number of times. BUG=636554 Committed: https://crrev.com/8f07351eab26e3b2d49fd4aa3c81f19e9656d6c2 Cr-Commit-Position: refs/heads/master@{#419180}

Patch Set 1 #

Total comments: 6

Patch Set 2 : set consistency_check_running_ from Init() #

Total comments: 2

Patch Set 3 : add trailing period #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -6 lines) Patch
M chrome/browser/chromeos/policy/enterprise_install_attributes.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/enterprise_install_attributes.cc View 1 2 4 chunks +19 lines, -6 lines 0 comments Download

Messages

Total messages: 31 (17 generated)
Daniel Erat
https://codereview.chromium.org/2244443002/diff/1/chrome/browser/chromeos/policy/enterprise_install_attributes.cc File chrome/browser/chromeos/policy/enterprise_install_attributes.cc (left): https://codereview.chromium.org/2244443002/diff/1/chrome/browser/chromeos/policy/enterprise_install_attributes.cc#oldcode86 chrome/browser/chromeos/policy/enterprise_install_attributes.cc:86: TriggerConsistencyCheck(kDbusRetryCount * kDbusRetryIntervalInSeconds); the multiplication by kDbusRetryIntervalInSeconds looks like ...
4 years, 4 months ago (2016-08-11 21:34:43 UTC) #2
Thiemo Nagel
I'll hold back reviewing this until we're both back from vacation. (Please ping me in ...
4 years, 4 months ago (2016-08-12 13:06:17 UTC) #7
Daniel Erat
looks like we're both around now. mind taking a look at this?
4 years, 3 months ago (2016-09-07 17:36:35 UTC) #12
Mattias Nissler (ping if slow)
Spring cleaning? I like it! ;-) LGTM w/ nits but I no longer have powers ...
4 years, 3 months ago (2016-09-07 19:47:25 UTC) #14
Daniel Erat
https://codereview.chromium.org/2244443002/diff/1/chrome/browser/chromeos/policy/enterprise_install_attributes.cc File chrome/browser/chromeos/policy/enterprise_install_attributes.cc (left): https://codereview.chromium.org/2244443002/diff/1/chrome/browser/chromeos/policy/enterprise_install_attributes.cc#oldcode86 chrome/browser/chromeos/policy/enterprise_install_attributes.cc:86: TriggerConsistencyCheck(kDbusRetryCount * kDbusRetryIntervalInSeconds); On 2016/09/07 19:47:24, Mattias Nissler (ping ...
4 years, 3 months ago (2016-09-07 20:46:52 UTC) #15
Daniel Erat
thiemo, have you had a chance to take a look at this yet?
4 years, 3 months ago (2016-09-15 16:26:23 UTC) #20
Thiemo Nagel
LGTM. (Sorry this took so long. I'm still traveling.) https://codereview.chromium.org/2244443002/diff/20001/chrome/browser/chromeos/policy/enterprise_install_attributes.cc File chrome/browser/chromeos/policy/enterprise_install_attributes.cc (right): https://codereview.chromium.org/2244443002/diff/20001/chrome/browser/chromeos/policy/enterprise_install_attributes.cc#newcode427 chrome/browser/chromeos/policy/enterprise_install_attributes.cc:427: ...
4 years, 3 months ago (2016-09-16 03:22:06 UTC) #21
Thiemo Nagel
Thinking a bit more about this: Could it contain a race condition? When cryptohome comes ...
4 years, 3 months ago (2016-09-16 05:42:18 UTC) #22
Mattias Nissler (ping if slow)
On 2016/09/16 05:42:18, Thiemo Nagel (slow) wrote: > Thinking a bit more about this: Could ...
4 years, 3 months ago (2016-09-16 07:30:26 UTC) #23
Daniel Erat
On 2016/09/16 07:30:26, Mattias Nissler (ping if slow) wrote: > On 2016/09/16 05:42:18, Thiemo Nagel ...
4 years, 3 months ago (2016-09-16 15:25:36 UTC) #24
Daniel Erat
https://codereview.chromium.org/2244443002/diff/20001/chrome/browser/chromeos/policy/enterprise_install_attributes.cc File chrome/browser/chromeos/policy/enterprise_install_attributes.cc (right): https://codereview.chromium.org/2244443002/diff/20001/chrome/browser/chromeos/policy/enterprise_install_attributes.cc#newcode427 chrome/browser/chromeos/policy/enterprise_install_attributes.cc:427: LOG(ERROR) << "Failed waiting for cryptohome D-Bus service availability"; ...
4 years, 3 months ago (2016-09-16 15:25:51 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2244443002/40001
4 years, 3 months ago (2016-09-16 15:26:19 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-16 16:07:09 UTC) #29
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 16:09:49 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8f07351eab26e3b2d49fd4aa3c81f19e9656d6c2
Cr-Commit-Position: refs/heads/master@{#419180}

Powered by Google App Engine
This is Rietveld 408576698