Comment:
To make cvs same across the platforms I support, I had to compile cvs on
Linux/Unix. It wasn't too bad.
-Steve
JP wrote:
>
> Hello Greg,
>
> Thanks for your help. I found better info that would be more useful. CVS on
> Mandrake is set up a little differently than other Linux distro (at least it
> appears that way).
>
> Here is the following;
>
> ~From /etc/xinetd.d cvs is used instead of cvspsever
>
> <snip>
>
> [root@DC xinetd.d]# cat cvs<?xml:namespace prefix = o ns =
> "urn:schemas-microsoft-com:office:office" />
>
> # CVS configuration for xinetd don't forget to specify your CVSROOT in
>
> # /etc/cvs/cvs.conf.
>
>
>
> service cvspserver
>
> {
>
> socket_type = stream
>
> protocol = tcp
>
> wait = no
>
> user = root
>
> server = /usr/sbin/cvspserver
>
> disable = no
>
> }
>
> <snip>
>
> ~The CVS configuration for xinetd in CVSROOT under /etc/cvs/cvs.conf is;
>
> [root@DC xinetd.d]# cat /etc/cvs/cvs.conf
>
> # -*- shell-script -*-
>
> #
>
> # Configuration file for the Mandrake CVS-related scripts
>
> #
>
>
>
> # Locations of CVS repositories you want to export via pserver
>
> CVS_REPOS="/home/cvs/"
>
>
>
> # cvs.conf ends here
>
> [root@DC xinetd.d]#
>
> Hopefully, this is enough to show what is going on.
>
> Again, many thanks,
>
> jp
>
> -----Original Message-----
> From: Greg Larkin [mailto:glarkin@xxxxxxxxxxxxxxxxx]
> Sent: Thursday, July 31, 2003 12:56 PM
> To: JP
> Subject: RE: [cvsgui] wincvs can login problems
>
> Hi jp,
>
> You should have a cvspserver file contained within /etc/xinetd.d that
> contains something like the following:
>
> service cvspserver
> {
> socket_type = stream
> protocol = tcp
> wait = no
> user = root
> passenv =
> server = /usr/bin/cvs
> server_args = --allow-root=/home/pauljohn/cvsroot
> --allow-root=/home/pauljohn/cvsmisc pserver -f
> }
>
> Of course, you'll need to change the /usr/bin/cvs to the proper path on your
> Linux machine. And you'll need to change server_args to
> "--allow-root=/home/cvs pserver -f".
>
> Very important - don't forget to become root and issue the command "killall
> -HUP xinetd" after you change the contents of the /etc/xinetd.d directory.
>
> Yes, the argument following the -d switch is the value of the CVSROOT
> variable. If you are using a graphical CVS client like WinCVS, you set the
> CVSROOT in the Admin->Preferences dialog box.
>
> The funny thing is that you said one of your machine could log into the
> server. If the xinetd process is not configured with a
> /etc/xinetd.d/cvspserver file, then I'm not sure how the client could log in
> at all.
>
> One other thing that you'll need is a passwd file in the /home/cvs/CVSROOT
> directory that contains a listing of each user that logs in to your
> repository.
>
> Finally, are the client and server communicating on a secure LAN or over the
> Internet? Be aware that the pserver protocol is insecure and should be
> wrapped with SSL if you are operating over the Internet.
>
> Regards,
> Greg
>
> At 03:46 PM 7/31/2003, you wrote:
>
> Hello Greg,
>
> Thanks for the response. The xinetd.conf files only has the default
> settings;
>
> defaults
> {
> instances = 60
> log_type = SYSLOG authpriv
> log_on_success = HOST PID
> log_on_failure = HOST
> cps = 25 30
> }
>
> includedir /etc/xinetd.d
>
> ... and there is no inetd.conf file.
>
> Forgive my ignorance, but where would I find the CVSROOT value for each
> client? Is it the following;
>
>
> cvs -d :pserver:jp@DC:/home/cvs login
>
>
>
> The CVS initial work area on the Linux server was created by "cvs -d
> /home/cvs init", which created the CVSROOT sub-directory with all of its
> contents.
>
> Thank you,
>
> jp
>
> -----Original Message-----
>
> From: Greg Larkin [ mailto:glarkin@xxxxxxxxxxxxxxxxx
> <mailto:glarkin@xxxxxxxxxxxxxxxxx> ]
>
> Sent: Thursday, July 31, 2003 11:58 AM
>
> To: cvsgui@xxxxxxxxxxxxxxx; CVSGUI (E-mail)
>
> Cc: JP@xxxxxxxxxxxxxxxx
>
> Subject: Re: [cvsgui] wincvs can login problems
>
> At 02:47 PM 7/31/2003, JP wrote:
>
> Hello,
>
> I have CVS server running on a Mandrake 9.1 machine and Wincvs running on an
>
> XP station and a Win98 station. The XP machine can log into the repository
>
> while the 98 box cannot. Its receives an error of;
>
> cvs95 [login aborted]: /home/cvs: no such repository
>
> Afterwards, I set up Wincvs on another XP unit and it too gets the same "no
>
> such repository" message.
>
> I set up preferences on all three machines to be identical, but to no avail.
>
> What can I do to resolve this?
>
> Many thanks in advance.
>
> jp
>
> Hi jp,
>
> The only reason that the "no such repository" error should appear is when
> your CVSROOT repository path does not match the value of the --allow-root
> option on your CVS server. I would suggest posting the contents of your
> inetd.conf/xinetd.conf here so we can have a look at it. Also, send the
> value of CVSROOT for each client.
>
> Regards,
>
> Greg
>
> ----
>
> Greg Larkin
>
> SourceHosting.Net, LLC
>
> The new baseline for configuration management
>
> glarkin@xxxxxxxxxxxxxxxxx
>
> http://www.sourcehosting.net/ <http://www.sourcehosting.net/>
>
> ----
> Greg Larkin
> SourceHosting.Net, LLC
> The new baseline for configuration management
>
> glarkin@xxxxxxxxxxxxxxxxx
> http://www.sourcehosting.net/ <http://www.sourcehosting.net/>
>
> [Non-text portions of this message have been removed]
>
>
> To unsubscribe from this group, send an email to:
> cvsgui-unsubscribe@xxxxxxxxxxxxxxx
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low
prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/z3wwlB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
cvsgui-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|