* [gentoo-user] cvs server config error
@ 2007-06-08 10:20 Arnau Bria
2007-06-09 16:05 ` Alex Schuster
2007-06-09 16:38 ` Bo Ørsted Andresen
0 siblings, 2 replies; 4+ messages in thread
From: Arnau Bria @ 2007-06-08 10:20 UTC (permalink / raw
To: gentoo-user
Hi,
I'm trying to configure a cvs server following:
http://gentoo-wiki.com/HOWTO_CVS_Server
All config when fine but now, with teh server up and running, I get
this error when I do login:
lx-arnau lib # CVSROOT=:pserver:user:passwd@localhost:/myrepos; export CVSROOT
lx-arnau lib # cvs login
Logging in to :pserver:arnau@localhost:2401/myrepos
cvs [login aborted]: unrecognized auth response from localhost: cvs: unrecognized option `--allow-root=/myrepos'
looking for this errror in google I got :
http://gentoo-wiki.com/Talk:HOWTO_CVS_Server
which says that I must enable server use flag to prevent this error,
but this flag does not exist for cvs
(http://www.gentoo.org/dyn/use-index.xml)
For what I've read I should configure inetd/xinetd to prevent this
error, but I'm not configuring cvs trough inet/xinet ... (I suppose
that server use flag meant no inetd will be used)...
(from year 2003
http://forums.gentoo.org/viewtopic-t-55659-highlight-cvs.html cvs with inetd)
My conf:
lx-arnau cvsd # grep -v "^#" /etc/cvsd/cvsd.conf|grep .
RootJail /var/lib/cvsd
Uid cvsd
Gid cvsd
Nice 1
Umask 027
Limit coredumpsize 0
PidFile /var/run/cvsd.pid
MaxConnections 0
Log syslog info
Log /var/log/cvsd/cvsd.log debug
Repos /myrepos
my user in /var/lib/cvsd/myrepos/CVSROOT/readers and writers
# grep -v "^#" /var/lib/cvsd/myrepos/CVSROOT/config|grep .
SystemAuth=no
PamAuth=no
LockDir=/var/lock/cvs
UseNewInfoFmtStrings=yes
some server logs:
cvsd: version 1.0.7 starting
cvsd: debug: binding 0.0.0.0 2401 family=2 socktype=1 protocol=6
cvsd: listening on 0.0.0.0 2401
cvsd: debug: binding :: 2401 family=10 socktype=1 protocol=6
cvsd: debug: socket() failed (ignored): Address family not supported by protocol
cvsd: debug: chroot(/var/lib/cvsd) done
cvsd: debug: nice(1) done
cvsd: debug: setgroups(0,NULL) done
cvsd: debug: setgid(1005) done
cvsd: debug: setuid(105) done
cvsd: debug: cvs command to execute: '/bin/cvs -f --allow-root=/myrepos pserver'
cvsd: accepting connections
cvsd: connection from 127.0.0.1 57215
cvsd: debug: limit coredumpsize to 0(soft) and 0(hard)
cvsd: debug: fork() succeeded (child pid=1839)
cvsd: debug: select() failed (ignored): Interrupted system call
cvsd: cvs command exited with exit-status 1
cvsd: debug: select() failed (ignored): Interrupted system call
anyone could help to find source of problem?
TIA,
--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] cvs server config error
2007-06-08 10:20 [gentoo-user] cvs server config error Arnau Bria
@ 2007-06-09 16:05 ` Alex Schuster
2007-06-11 14:37 ` Arnau Bria
2007-06-09 16:38 ` Bo Ørsted Andresen
1 sibling, 1 reply; 4+ messages in thread
From: Alex Schuster @ 2007-06-09 16:05 UTC (permalink / raw
To: gentoo-user
Arnau Bria writes:
> looking for this errror in google I got :
> http://gentoo-wiki.com/Talk:HOWTO_CVS_Server
>
> which says that I must enable server use flag to prevent this error,
> but this flag does not exist for cvs
> (http://www.gentoo.org/dyn/use-index.xml)
Um, it does. Look again :)
Another method:
wonko@knork ~ --> grep server /usr/portage/profiles/use.* | grep cvs
/usr/portage/tree/profiles/use.local.desc:dev-util/cvs:server - Enable
server support
I don't know about your problem, but for me the CVS server functionality
also did not work when I updated a little while ago, and I fixed it by
adding the server USE flag.
Alex
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] cvs server config error
2007-06-08 10:20 [gentoo-user] cvs server config error Arnau Bria
2007-06-09 16:05 ` Alex Schuster
@ 2007-06-09 16:38 ` Bo Ørsted Andresen
1 sibling, 0 replies; 4+ messages in thread
From: Bo Ørsted Andresen @ 2007-06-09 16:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 279 bytes --]
On Friday 08 June 2007 12:20:55 Arnau Bria wrote:
> which says that I must enable server use flag to prevent this error,
> but this flag does not exist for cvs
It exists for >=dev-util/cvs-1.12.12-r3. dev-util/cvs-1.12.12-r4 was made
stable in April.
--
Bo Andresen
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] cvs server config error
2007-06-09 16:05 ` Alex Schuster
@ 2007-06-11 14:37 ` Arnau Bria
0 siblings, 0 replies; 4+ messages in thread
From: Arnau Bria @ 2007-06-11 14:37 UTC (permalink / raw
To: gentoo-user; +Cc: wonko
On Sat, 9 Jun 2007 18:05:24 +0200
Alex Schuster wrote:
> Arnau Bria writes:
>
> > looking for this errror in google I got :
> > http://gentoo-wiki.com/Talk:HOWTO_CVS_Server
> >
> > which says that I must enable server use flag to prevent this error,
> > but this flag does not exist for cvs
> > (http://www.gentoo.org/dyn/use-index.xml)
>
> Um, it does. Look again :)
> Another method:
> wonko@knork ~ --> grep server /usr/portage/profiles/use.* | grep cvs
> /usr/portage/tree/profiles/use.local.desc:dev-util/cvs:server -
> Enable server support
You're right... sorry!
> I don't know about your problem, but for me the CVS server
> functionality also did not work when I updated a little while ago,
> and I fixed it by adding the server USE flag.
Anyway:
# emerge -pvtD cvs
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild R ] dev-util/cvs-1.12.12-r4 USE="crypt nls server -doc -emacs -kerberos -pam" 0 kB
$ cvs login
Logging in to :pserver:user@localhost:2401/myrepos
cvs [login aborted]: unrecognized auth response from localhost: cvs: unrecognized option `--allow-root=/myrepos'
> Alex
Any other idea?
--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-06-11 14:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-08 10:20 [gentoo-user] cvs server config error Arnau Bria
2007-06-09 16:05 ` Alex Schuster
2007-06-11 14:37 ` Arnau Bria
2007-06-09 16:38 ` Bo Ørsted Andresen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox