Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using CVS 1.11.20 for Solaris 10 Login Issue

Status
Not open for further replies.

stevenriz

IS-IT--Management
May 21, 2001
1,069
After installing CVS 1.11.20 on a new Solaris 10 box, I realize Solaris uses services and not inetd in the traditional way. I got the service up and running using the xlm file that came with CVS.

Now I am having logon issues using Solaris 10. When attempting a login to cvs, here is what happens.
-bash-3.00$ cvs login
Logging in to :pserver:cvs@sam.cleanwise.com:2401/home/cvs/cvsroot
CVS password:
Server configuration missing --allow-root in inetd.conf
-bash-3.00$

In the now legacy inetd, you would normally put this line in the inetd.conf file... but now I don't know how this is or was translated to the new configuration using Solaris services...
cvspserver stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/home/cvs/cvsroot pserver

Here is what the cvs service looks like.
-bash-3.00# inetadm -l svc:/network/cvspserver/tcp:default
SCOPE NAME=VALUE
name="cvspserver"
endpoint_type="stream"
proto="tcp"
isrpc=FALSE
wait=FALSE
exec="/usr/local/bin/cvs -b /usr/local/bin pserver"
user="root"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=FALSE
default tcp_wrappers=FALSE

Has anyone gone through this yet?
Thanks!
steve
 
I figured out how to change the "exec" line in the cvs config for the new inetd svc. so I am trying to figure out what the exact command should be for my installation. once I added --allow-root=/home/cvs/cvsroot in this exec command, it worked better. Although I now get
/home/cvs/cvsroot: no such repository which I am going to try and fix....
It now looks like this...
exec="/usr/local/bin/cvs --allow-root=/home/cvs/cvsroot/ pserver"

I will try a couple different ways to run this command and report back...
Steve
 
Ok you're not gonna believe this. Well maybe you will. The extra slash here --allow-root=/home/cvs/cvsroot/ <---- was enough to throw it off. Once I removed it, cvs worked like a champ.

exec="/usr/local/bin/cvs --allow-root=/home/cvs/cvsroot pserver"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top