New issue
Advanced search Search tips

Issue 853701 link

Starred by 3 users

Issue metadata

Status: Verified
Owner:
Closed: Jun 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Authpolicyd has no access to reporting UMA

Project Member Reported by rsorokin@chromium.org, Jun 18 2018

Issue description

Chrome OS Version: 10791.0.0 69.0.3463.0

1. Enroll device into AD mode.
2. Check /var/log/authpolicyd.log

A lot of 

/var/lib/metrics/uma-events: cannot open: Permission denied
 
Issue 854376 has been merged into this issue.
Owner: mortonm@chromium.org
Hey Micah, I noticed you've been working on uma events. Will your CL
  https://chromium-review.googlesource.com/c/chromiumos/platform2/+/1106046
fix this?

Comment 3 Deleted

Comment 4 Deleted

Yep, we are aware of this and the linked CL should be the fix :)

I updated the BUG line in the CL description to reference this bug as well.
Project Member

Comment 6 by bugdroid1@chromium.org, Jun 21 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/52fa073b862975503f015226a60c977cf7b6c183

commit 52fa073b862975503f015226a60c977cf7b6c183
Author: Micah Morton <mortonm@chromium.org>
Date: Thu Jun 21 15:14:27 2018

metrics: Fix syntax error in pre-start script

We took out an unneeded fchmod call in CL:956012, which required
changing the associated pre-start script. Fix a syntax error in the
script that was causing the script to fail/crash.

BUG= chromium:804933 ,  chromium:853701 
TEST=without syntax fix, verified that /var/lib/metrics/uma-events has
wrong ownership/perms and /run/metrics doesn't get created, but file
gets correct ownership/perms and dir gets created after this fix

Change-Id: I62a31f412162638eb648f6505414274a7dfae8bf
Reviewed-on: https://chromium-review.googlesource.com/1106046
Commit-Ready: Mattias Nissler <mnissler@chromium.org>
Tested-by: Micah Morton <mortonm@chromium.org>
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/52fa073b862975503f015226a60c977cf7b6c183/metrics/init/metrics_library.conf

Status: Fixed (was: Assigned)
This was fixed by the CL uploaded above.
Status: Verified (was: Fixed)
Verified fixed, no uma-events errors in authpolicy.log (attached).

Chrome OS: 10827.0.0
Chrome: 69.0.3475.0
Device: Robo
authpolicy.log
4.4 KB View Download

Sign in to add a comment