New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 708082 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Oct 9
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

.config/chrome_infra/auth/creds.json is owned by root on master7

Project Member Reported by dsansome@chromium.org, Apr 4 2017

Issue description

chrome-bot@master7:(Linux 12.04):THIS IS A MASTER BE CAREFUL:~$ ls -la /home/chrome-bot/.config/chrome_infra/auth/
total 44
drwx------ 2 chrome-bot chrome-bot 4096 Apr  3 23:35 .
drwx------ 3 chrome-bot chrome-bot 4096 Jul 13  2015 ..
-rw------- 1 chrome-bot chrome-bot  160 Jan 27  2016 199b1b41b35ba73f.tok
-rw------- 1 chrome-bot chrome-bot  321 Feb 14 14:14 4090586f8d5932b7.tok
-rw------- 1 chrome-bot chrome-bot  165 Jan 27  2016 4fd93e13f2ec1cb9.tok
-rw------- 1 chrome-bot chrome-bot  250 Apr  3 23:14 828dde246b8da8ba.tok
-rw------- 1 chrome-bot chrome-bot  160 Sep 24  2015 9ae2809d4c527a01.tok
-rw------- 1 chrome-bot chrome-bot  250 Apr  3 23:36 bea4a16e751d561c.tok
-rw------- 1 chrome-bot chrome-bot  160 Jan 13  2016 c1e0977bcc94c114.tok
-rw------- 1 root       root        658 Apr  3 23:35 creds.json
-rw------- 1 chrome-bot chrome-bot  321 Apr  3 23:25 fc0e177e35f245cd.tok

Of course everything is failing to write to it.
 
I was running a luci-go tool as sudo on this machine at exactly that time as chrome-infra, so it was almost certainly me.

The default SecretsDir() is set in infra/go/src/github.com/luci/luci-go/hardcoded/chromeinfra/chromeinfra.go, line 62

We might want to try and handle sudo situations with luci-go tools. Meanwhile, I will delete creds.json and let it regenerate
Components: -Infra Infra>Platform>Buildbot
Owner: philwright@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 3 by no...@chromium.org, Jun 2 2018

Components: -Infra>Platform>Buildbot Infra>Labs
This is an issue with a bot, not buildbot software 
Status: WontFix (was: Assigned)
Stale bugs - closing

Sign in to add a comment