info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs commit problem


From: Brian Poynor
Subject: Re: cvs commit problem
Date: Wed, 10 Apr 2002 00:46:46 -0700
User-agent: Mutt/1.2.5.1i

It is a permission problem on the server side, though it isn't
completely clear without more investigation what it is.

If you don't mind a little nitty-gritty, you can figure out exactly
what is happening by tracing your cvs pserver. What I do is open a
second port on the server as follows (you can add this to the end of
your /etc/xinetd.d/cvspserver file--it will not affect cvspserver):

service cvspserver-trace
{
        disable         = no
        socket_type     = stream
        protocol        = tcp
        port            = 2402
        wait            = no
        user            = root
        passenv         =
        server          = /usr/bin/strace
        server_args     = -o /tmp/pserver.strace -f /usr/bin/cvs -f 
--allow-root=/cvsroot pserver
}

Substitute your path to cvs and the --allow-root(s) to match your
cvspserver config. 

Restart xinetd with the command

$ service xinetd restart

Check /var/log/messages for xinetd error messages to be sure there are
no errors in your config.

Now you can set CVSTRACE=:pserver:address@hidden:2402/cvsroot in
your client environment and

$ cvs -d $CVSTRACE login
$ cvs -d $CVSTRACE commit

(You will see a couple of interesting complaints from cvs regarding
unexpected responses from server--you can safely ignore those. That's
just strace making noise about child processes when it shouldn't.)

The trace of the most recent pserver session will be on the server in
file /tmp/pserver.strace. Take a look over that to see if you can
identify the point where the error occurs. The end of the file will
have a bunch of cleanup--removing tmp files and directories. The error
should be very shortly before that. If you're stumped, check with your
local linux guru, or send it my way and I'll try to decipher it.

good luck,
-Brian

On Wed, Apr 10, 2002 at 08:08:35AM +0200, Joss, Werner 3936 S-RD-MP2 wrote:
> Hi all,
> I'm currently trying to get my cvs pserver running on redhat 7.2.
> I've managed to get it working partly by setting up xinetd as described
> in the faq-o-matic.
> so far, I can connect to cvs, also checkout modules, but if I try to commit
> changes, I get the following error:
> 
> cannot create_adm_p /tmp/cvs-serv13750/CVI/MDAQ
> Permission denied
> cvs commit: saving log message in /tmp/cvsiIyJXt
> 
> anyone knows what to do ?
> (of course, /tmp is writeable by anyone on the server as well as the client
> machine...)
> 
> thanks
> Werner
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]