remicollet / remirepo

Issue tracker for
https://rpms.remirepo.net/
277 stars 53 forks source link

access to repositories on git.remirepo.net always returns 500 error since mid-July #262

Closed mdei closed 1 month ago

mdei commented 1 month ago

I can't pull or fetch from git.remirepo.net since mid-July

$ git clone https://git.remirepo.net/git/rpms/php/php82.git Cloning into 'php82'... fatal: unable to access 'https://git.remirepo.net/git/rpms/php/php82.git/': The requested URL returned error: 500

$ git --version git version 2.45.2

Thank you!

remicollet commented 1 month ago

Error in log

fatal: detected dubious ownership in repository at ...

Seems related to new security option (safe.directory)

remicollet commented 1 month ago

Temporary workaround:

Seems to work, but this is only an unsecured workaround... need a real solution

remicollet commented 1 month ago

Proper fix applied (using safe.directory = *in /etc/gitconfig)

Notice: better fix safe.directory = /path/to/git/* is not supported by git 2.43.5 (version 2.46 is required)

P.S. for memory: https://github.com/git/git/commit/313eec177ad010048b399d6fd14de871b517f7e3

mdei commented 1 month ago

Now I can access to git.remirepo.net

Thanks a lot.