Closed Bug 694427 Opened 14 years ago Closed 14 years ago

cvs.mozilla.org giving errors when trying to check out "Permission denied (publickey,gssapi-with-mic)."

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alqahira, Assigned: justdave)

References

Details

Starting at about 9:50 this morning, Camino tinderboxen (which still pull build configs from cvs) stopped working. After some inspection, it seems that cvs.mozilla.org started responding with "Permission denied (publickey,gssapi-with-mic)." errors for Camino tinderboxen ("caminobld"). Further, I just tried to cvs up one of my trees for CVS-related files, and I get the same error. Did something happen to CVS today? I see bug 694249, but that (as far as I can tell) seems like Bear changed his key and needed the new key added to CVS; in this bug's case, however, neither caminobld nor I have changed our keys.
even after the updating of key and redoing my account, I'm still getting errors like you have posted
me too
Severity: normal → blocker
OS: Mac OS X → All
Hardware: x86 → All
Where are you guys logging in from? a VPN of some kind or... ?
I get the same issue with: cvs -d:ext:bsmith%mozilla.com@cvs.mozilla.org:/cvsroot co NSS NSPR from the Mozilla SF office "Mozilla" wifi, no VPN.
I always have the buildvpn active
dumitru and I are investigating. All evidence so far says it's quite likely related to bug 694249 somehow.
Assignee: server-ops → justdave
FWIW, I'm just a regular old external-person-over-public-Internet, but the Camino tinderboxen are on the Mozilla community network. This error happened once before, maybe 6 months ago? I'd search for the old bug, but at this moment I'm away from the house and office on a very flaky wireless connection :P
as part of the other bug, bear got deleted and readded. The addcvsuser script got run accidentally without an argument when re-adding him the first time. It's apparently missing a sanitycheck to ensure that you passed in a username (which will be fixed shortly). The script does a chmod 700 on the newly-created user homedirectory after creating the user. chmod 700 /cvsdisk/jail/users/$USERNAME with a null $USERNAME caused /cvsdisk/jail/users to become mode 700, thus locking everyone out from seeing their own home directories (and thus preventing sshd from finding your ssh keys since it setuids to your userid before reading it). chmod 711 on /cvsdisk/jail/users fixed it.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Just for the record, the sanitycheck to make sure a username gets passed was added to all 6 variants of the script. It also turns out that useradd is quite happy to add a user with a null name to the system (which it successfully did), which is why the whole thing didn't die and acted on an empty username. It had been counting on the exit code from useradd to tell it if it was legal or not (and of course useradd succeeded).
Still broken for me.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This appears to be an unrelated problem specific to your account. Can you file a new bug? Go ahead and assign it to me, I'm looking into it already (but from looking at the logs, it looks like it's not affecting anyone other than you).
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Dave, thanks a lot for working on this! I was already asleep when you asked me to file a new bug. I now found the messages you sent to me on IRC. I confirm this is now fixed for me!
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.