Skip to contentSkip to conversation

git-cvsservr questions

DISCUSSION Jon Loeliger 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Mart{i,y}n et al,

I'm having a bit of a problem setting up my git-cvsserver. I think I have followed the man page, but this is the only real response I get:

    $ setenv CVSROOT :pserver:[email protected]:/pub/..../foo.git
    $ cvs co master cvs [checkout aborted]: unrecognized auth response
      from jdl.com: Unknown command BEGIN AUTH REQUEST at
      /usr/bin/git-cvsserver line 132, <STDIN> line 1.

I've installed DBD:SQLite, but I don't know if it is working or not. Not sure what file it would create in my repo if it was working properly. I've made the bare repo directory be mode 777 just to be sure it is writable by "nobody."

My client is 1.12.9.

I have enabled it the config file, and set a log file, but I get no output. Do I need to enable the output somehow? Other debug enabling bits to turn on for more help here?

Have I missed some obvious step? You know, intuit my problem from my sparse description! :-) Well, or tell me what else you need to know...

Thanks,
jdl

#1 lore raw
Quoted 10 lines · Jon Loeliger

Mart{i,y}n et al,

I'm having a bit of a problem setting up my git-cvsserver. I think I have followed the man page, but this is the only real response I get:

    $ setenv CVSROOT :pserver:[email protected]:/pub/..../foo.git
    $ cvs co master cvs [checkout aborted]: unrecognized auth response
      from jdl.com: Unknown command BEGIN AUTH REQUEST at
      /usr/bin/git-cvsserver line 132, <STDIN> line 1.

...

Quoted 1 line

I have enabled it the config file, and set a log file

Very strange. The calling line to git-cvsserver should have the 'pserver' option. Perhaps the inetd configuration is missing the doubled-up pserver?

cheers,

martin

#2 lore raw
Quoted 4 lines

Very strange. The calling line to git-cvsserver should have the 'pserver' option. Perhaps the inetd configuration is missing the doubled-up pserver?

Oh wow.

I thought I had tried that step already. So I went back and looked. I _had_ tried that step -- but it was when I didn't have a full path to the git-cvsserver executable on my inetd.conf line...

In summary, I had to:

use a full path to the excutable,
double the pserver command line arg,
fix the owner of my logfile to be "nobody".

Worked like a charm!

Thanks!
jdl