Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

git pkg does not work #1015

Open
wizmer opened this issue Nov 2, 2018 · 3 comments
Open

git pkg does not work #1015

wizmer opened this issue Nov 2, 2018 · 3 comments

Comments

@wizmer
Copy link
Contributor

wizmer commented Nov 2, 2018

For some reason, I have the following error message when I run git pull with nix git.

$ git pull
No user exists for uid XXXXX
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Maybe future myself will try to debug that...

@mgeplf
Copy link
Contributor

mgeplf commented Nov 2, 2018

Are you on the cluster? If so, this is might be if git is using libc that isn't NSS aware, and this is only looking at /etc/passwd for the your UID. Just a guess.

Edit: not just on the cluster - anything using NSS for lookup.

@wizmer
Copy link
Contributor Author

wizmer commented Nov 2, 2018

Spot on...
So we are basically screwed ?

@mgeplf
Copy link
Contributor

mgeplf commented Nov 2, 2018

You can probably use nss_wrapper, but it's a pain, imo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants