[M3devel] cvsup

Jay K jay.krell at cornell.edu
Tue Mar 16 13:32:49 CET 2010


I can reproduce the cvsup problem.

An important point to consider is that cvsupd forks a server?

 Maybe that messes up initialization?

 I'll dig further.

 

 

I think these steps are complete.

I'll test them on a second clean system.

You don't need any real data.

 

 

jay at xlin2:~$ cat cvsupd.cfg
*default tag=.
*default host=xlin2.
*default prefix=/home/jay
*default base=/home/jay/var/db
*default release=cvs delete use-rel-suffix compress

 

src-all

 

 

mkdir -p $HOME/var/db

mkdir -p $HOME/data/cvsupd

pkill cvsupd # cleanup any previous

 

 

You don't really need any data.

cvsup/cvsupd will issue an error in the "working" case, and

hang in the non-working case.

 




run the server:

 

 

jay at xlin2:~$ /cm3/bin/cvsupd -b $HOME/data/cvsupd
2010.03.16 05:24:25 PDT [22555]: CVSup server started
2010.03.16 05:24:25 PDT [22555]: Software version: 2010-03-05 10:55:15
2010.03.16 05:24:25 PDT [22555]: Protocol version: 17.0
2010.03.16 05:24:25 PDT [22555]: Ready to service requests



run the client:

 

 /cm3/bin/cvsup -g -L 2 $HOME/cvsupd.cfg

 

 

Parsing supfile "/home/jay/cvsupd.cfg"
Connecting to xlin2.
Connected to xlin2.
Server software version: 2010-03-05
Negotiating file attribute support
Exchanging collection information
Server message: Unknown collection "src-all"
Establishing multiplexed-mode data connection
Running
Skipping collection src-all/cvs
Shutting down connection to server
Finished successfully

 

it is able to talk to the server, and then fails.

Ok -- at least it talked to the server.

 

The server then exits too.

I think that is correct (read the usage on the -C option).

 

 

Then try with -C.

The bug says -C 2. Let's use -C 1.

They behave the same for our purposes.

 

 

Just add -C 1 to the above server.

Run the same client.

The client hangs -- it never connects to the server.

 

 

I reproduced this on LINUXLIBC6 and PPC_LINUX.

Maybe more soon.

I'm just rebuilding first.

 

 

 - Jay
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100316/8909c2eb/attachment-0001.html>


More information about the M3devel mailing list