lists.arthurdejong.org
RSS feed

RE: CVSd Doubt

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

RE: CVSd Doubt



Dear Arthur,

Thanks a lot for your quick answer.
Here you have the output of cvsd-buginfo
As you can see: 
  - my cvs chroot is /data_disk/cvsroot/
  - My repository is /data_disk/cvsroot/androide
  - the users are 'cvs' or 'anonymous'
  - the owner of all files in /data_disk/cvsroot is 'cvsd' user.

Thanks again for your support.

Best Regards,
Ignacio
------------------------------------------------------------------------------

root@merv-server:/home/bevs# cvsd-buginfo
Warning: be sure to review this information to make sure it does
         not contain any sensitive data!

cvsd 1.0.21 built with:
 ./configure --build i686-linux-gnu --prefix=/usr --mandir=${prefix}/share/man 
-                                                                              
-infodir=${prefix}/share/info --sysconfdir=/etc --enable-warnings 
--disable-depe                                                                  
            ndency-tracking --with-cvs=/usr/bin/cvs --with-perl=/usr/bin/perl 
build_alias=i6                                                                  
            86-linux-gnu CFLAGS=-g -O2 LDFLAGS=-Wl,-Bsymbolic-functions 
CPPFLAGS=

uname -a output:
 Linux merv-server 2.6.38-8-generic-pae #42-Ubuntu SMP Mon Apr 11 05:17:09 UTC 
2                                                                              
011 i686 i686 i386 GNU/Linux

/etc/cvsd/cvsd.conf:
 RootJail /data_disk/cvsroot
 Uid cvsd
 Gid cvsd
 Nice 1
 Umask 027
 PidFile /var/run/cvsd.pid
 MaxConnections 10
 Log syslog info
 Listen * 2401
 Repos /androide

/data_disk/cvsroot:
 drwxr-xr-x root root    4096 Jun  6 15:59 /data_disk/cvsroot
 drwxrwxr-x root root    4096 Jun  6 16:13 CVSROOT
 drwxrwxr-x 106  114    4096 Jun  6 15:41 androide
 drwxr-xr-x root root    4096 Jun  6 15:38 bin
 -rwxr-xr-x root root  704500 Jun  6 16:08 bin/cvs
 drwxr-xr-x root root    4096 Jun  6 15:38 dev
 crw-rw-rw- root root    1, 3 Jun  6 09:50 dev/null
 crw-rw-rw- root root    1, 5 Jun  6 09:50 dev/zero
 drwxr-xr-x root root    4096 Jun  6 16:11 etc
 -rw-r--r-- root root     113 Jun  6 15:38 etc/passwd
 drwxr-xr-x root root    4096 Jun  6 15:38 lib
 drwxr-xr-x root root    4096 Jun  6 15:38 lib/i386-linux-gnu
 -rwxr-xr-x root root 1434180 Jun  6 16:08 lib/i386-linux-gnu/libc.so.6
 -rwxr-xr-x root root   34264 Jun  6 16:08 lib/i386-linux-gnu/libcrypt.so.1
 -rwxr-xr-x root root    9736 Jun  6 16:08 lib/i386-linux-gnu/libdl.so.2
 -rwxr-xr-x root root   79672 Jun  6 16:08 lib/i386-linux-gnu/libnsl.so.1
 -rwxr-xr-x root root   46644 Jun  6 16:08 lib/i386-linux-gnu/libpam.so.0
 -rwxr-xr-x root root  121644 Jun  6 16:08 lib/i386-linux-gnu/libpthread.so.0
 -rwxr-xr-x root root   30684 Jun  6 16:08 lib/i386-linux-gnu/librt.so.1
 -rwxr-xr-x root root   79476 Jun  6 16:08 lib/i386-linux-gnu/libz.so.1
 -rwxr-xr-x root root  117960 Jun  6 16:08 lib/ld-linux.so.2
 drwxrwxrwt root root    4096 Jun  6 16:13 tmp
 drwxr-xr-x 106  114    4096 Jun  6 16:13 tmp/androide
 drwxr-xr-x root root    4096 Jun  6 15:38 usr
 lrwxrwxrwx root root       6 Jun  6 15:38 usr/bin -> ../bin
 lrwxrwxrwx root root       6 Jun  6 15:38 usr/lib -> ../lib

/usr/bin/cvs:
 -rwxr-xr-x root root 704500 Nov 11  2008 /usr/bin/cvs

/usr/bin/cvs --version:
 Concurrent Versions System (CVS) 1.12.13 (client/server)

/data_disk/cvsroot/bin/cvs --version:
 Concurrent Versions System (CVS) 1.12.13 (client/server)

/data_disk/cvsroot/etc/passwd: (passwds removed)
 root::0:0::/:/bin/bash
 nobody::65534:65534::/:/bin/sh
 cvsd::106:114::/:/bin/false

System passwd file: (passwds removed)
 cvsd::1001:1001::/home/cvsd:/bin/bash
 nobody::65534:65534::/nonexistent:/bin/sh
 root::0:0::/root:/bin/bash

/data_disk/cvsroot/androide/CVSROOT/config:
 UseNewInfoFmtStrings=yes

/data_disk/cvsroot/androide/CVSROOT/passwd: (passwds removed)
 cvs::cvsd
 anonymous::cvsd

/data_disk/cvsroot/androide/CVSROOT/writers:
 <empty>



-----Mensaje original-----
De: Arthur de Jong [arthur [at] arthurdejong.org] 
Enviado el: lunes, 06 de junio de 2011 19:56
Para: Yague Martin, Ignacio
CC: cvsd-users@lists.arthurdejong.org
Asunto: Re: CVSd Doubt

On Mon, 2011-06-06 at 16:09 +0200, Ignacio.Yague@military.airbus.com
wrote:
> I am getting crazy with the configuration of the cvsd. 
[...]
> It is simple, I always get the error:  
> 
> Fatal error, aborting.
> 
> cvsd: no such system user

Most of the time, this means that, in the chroot jail, the cvsd user cannot be 
found.

Can you include the output of cvsd-buginfo?

--
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org --
-- 
To unsubscribe send an email to
cvsd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/cvsd-users