6

Soo.. over the span of 1 month, x2 MAC servers have died (hardware failure). I'm in progress of setting up the third one.

What a dumb fucking system MacOS is!!! wtf...

I've spent 4+ hours trying to figure out why the fuck `git clone` is getting stuck and timing out our CI runs.

Turns out, on MacOS you cannot run git clone via ssh IF you have that user logged in via GUI (e.g. VNC). Git is getting stuck at

11:51:26.084245 run-command.c:759 trace: start_command: /opt/homebrew/opt/git/libexec/git-core/git-credential-osxkeychain store

and just chilling there doing nothing, waiting for the user to click on a Cancel button in GUI.
Logged out my VNC session and git magically started working.

What a dumb system... Or perhaps I'm misunderstanding this "security" feature...?

Comments
  • 2
    User input on keyring access, to hinder keyring dumping by effectively informing the user about access attempt, most have it encrypted and this gui ask for master password!
  • 2
    @max19931 access attempt...? Why would it try to access the logged in user's keyring?

    I'm doing git clone with a repo token for auth.Why the hell does it even touch the GUI session's keyring..? wtf does it need from it?
  • 2
    @netikras You're holding it wrong. Have you tried holding it correctly?
  • 2
    So the security turns off if GUI user is not logged in?
  • 0
    Show me you're a living person
Add Comment