Gentoo Archives: gentoo-user

From: Arnau Bria <arnau@×××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] cvs server config error
Date: Fri, 08 Jun 2007 10:21:51
Message-Id: 20070608122055.4a9718f1@lx-arnau.pic.es
1 Hi,
2
3 I'm trying to configure a cvs server following:
4 http://gentoo-wiki.com/HOWTO_CVS_Server
5
6 All config when fine but now, with teh server up and running, I get
7 this error when I do login:
8
9 lx-arnau lib # CVSROOT=:pserver:user:passwd@localhost:/myrepos; export CVSROOT
10 lx-arnau lib # cvs login
11 Logging in to :pserver:arnau@localhost:2401/myrepos
12 cvs [login aborted]: unrecognized auth response from localhost: cvs: unrecognized option `--allow-root=/myrepos'
13
14 looking for this errror in google I got :
15 http://gentoo-wiki.com/Talk:HOWTO_CVS_Server
16
17 which says that I must enable server use flag to prevent this error,
18 but this flag does not exist for cvs
19 (http://www.gentoo.org/dyn/use-index.xml)
20
21 For what I've read I should configure inetd/xinetd to prevent this
22 error, but I'm not configuring cvs trough inet/xinet ... (I suppose
23 that server use flag meant no inetd will be used)...
24 (from year 2003
25 http://forums.gentoo.org/viewtopic-t-55659-highlight-cvs.html cvs with inetd)
26
27 My conf:
28 lx-arnau cvsd # grep -v "^#" /etc/cvsd/cvsd.conf|grep .
29 RootJail /var/lib/cvsd
30 Uid cvsd
31 Gid cvsd
32 Nice 1
33 Umask 027
34 Limit coredumpsize 0
35 PidFile /var/run/cvsd.pid
36 MaxConnections 0
37 Log syslog info
38 Log /var/log/cvsd/cvsd.log debug
39 Repos /myrepos
40
41 my user in /var/lib/cvsd/myrepos/CVSROOT/readers and writers
42
43 # grep -v "^#" /var/lib/cvsd/myrepos/CVSROOT/config|grep .
44 SystemAuth=no
45 PamAuth=no
46 LockDir=/var/lock/cvs
47 UseNewInfoFmtStrings=yes
48
49
50 some server logs:
51 cvsd: version 1.0.7 starting
52 cvsd: debug: binding 0.0.0.0 2401 family=2 socktype=1 protocol=6
53 cvsd: listening on 0.0.0.0 2401
54 cvsd: debug: binding :: 2401 family=10 socktype=1 protocol=6
55 cvsd: debug: socket() failed (ignored): Address family not supported by protocol
56 cvsd: debug: chroot(/var/lib/cvsd) done
57 cvsd: debug: nice(1) done
58 cvsd: debug: setgroups(0,NULL) done
59 cvsd: debug: setgid(1005) done
60 cvsd: debug: setuid(105) done
61 cvsd: debug: cvs command to execute: '/bin/cvs -f --allow-root=/myrepos pserver'
62 cvsd: accepting connections
63 cvsd: connection from 127.0.0.1 57215
64 cvsd: debug: limit coredumpsize to 0(soft) and 0(hard)
65 cvsd: debug: fork() succeeded (child pid=1839)
66 cvsd: debug: select() failed (ignored): Interrupted system call
67 cvsd: cvs command exited with exit-status 1
68 cvsd: debug: select() failed (ignored): Interrupted system call
69
70
71
72 anyone could help to find source of problem?
73 TIA,
74
75
76 --
77 Arnau Bria
78 http://blog.emergetux.net
79 Bombing for peace is like fucking for virginity
80 --
81 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] cvs server config error Alex Schuster <wonko@×××××××××.org>
Re: [gentoo-user] cvs server config error "Bo Ørsted Andresen" <bo.andresen@××××.dk>