lists.arthurdejong.org
RSS feed

RE: CVSd Doubt

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

RE: CVSd Doubt



Dear Arthur, 

Thanks a lot again for for your quick support.
I have modified the passwd file, but still not working. I then repeated all 
configuration steps (as indicated in your readme file).
I manually modified the /data_disk/cvsroot/etc/passwd file in order to match 
the user id with the /etc/passwd file.

I get the same error:

        root@merv-server:/home/bevs# cvs -d :pserver:cvs@localhost:/androide 
login
        Logging in to :pserver:cvs@localhost:2401/androide
        CVS password:
        
        root@merv-server:/home/bevs# cvs -d :pserver:cvs@localhost:/androide 
checkout .
        Fatal error, aborting.
        cvsd: no such system user

You can find below the output of cvsd-buginfo
------------------------------------------------------------------------
root@merv-server:/# 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 cvsd cvsd    4096 Jun  6 15:59 /data_disk/cvsroot
 drwxrwxr-x cvsd cvsd    4096 Jun  6 16:13 CVSROOT
 drwxrwxr-x cvsd cvsd    4096 Jun  6 15:41 androide
 drwxr-xr-x cvsd cvsd    4096 Jun  6 15:38 bin
 -rwxr-xr-x cvsd cvsd  704500 Jun  8 08:34 bin/cvs
 drwxr-xr-x cvsd cvsd    4096 Jun  6 15:38 dev
 crw-rw-rw- cvsd cvsd    1, 3 Jun  6 09:50 dev/null
 crw-rw-rw- cvsd cvsd    1, 5 Jun  6 09:50 dev/zero
 drwxr-xr-x cvsd cvsd    4096 Jun  8 08:44 etc
 -rw-r--r-- cvsd cvsd     113 Jun  8 08:44 etc/passwd
 drwxr-xr-x cvsd cvsd    4096 Jun  6 15:38 lib
 drwxr-xr-x cvsd cvsd    4096 Jun  6 15:38 lib/i386-linux-gnu
 -rwxr-xr-x cvsd cvsd 1434180 Jun  8 08:34 lib/i386-linux-gnu/libc.so.6
 -rwxr-xr-x cvsd cvsd   34264 Jun  8 08:34 lib/i386-linux-gnu/libcrypt.so.1
 -rwxr-xr-x cvsd cvsd    9736 Jun  8 08:34 lib/i386-linux-gnu/libdl.so.2
 -rwxr-xr-x cvsd cvsd   79672 Jun  8 08:34 lib/i386-linux-gnu/libnsl.so.1
 -rwxr-xr-x cvsd cvsd   46644 Jun  8 08:34 lib/i386-linux-gnu/libpam.so.0
 -rwxr-xr-x cvsd cvsd  121644 Jun  8 08:34 lib/i386-linux-gnu/libpthread.so.0
 -rwxr-xr-x cvsd cvsd   30684 Jun  8 08:34 lib/i386-linux-gnu/librt.so.1
 -rwxr-xr-x cvsd cvsd   79476 Jun  8 08:34 lib/i386-linux-gnu/libz.so.1
 -rwxr-xr-x cvsd cvsd  117960 Jun  8 08:34 lib/ld-linux.so.2
 drwxrwxrwt cvsd cvsd    4096 Jun  6 16:13 tmp
 drwxr-xr-x cvsd cvsd    4096 Jun  6 16:13 tmp/androide
 drwxr-xr-x cvsd cvsd    4096 Jun  6 15:38 usr
 lrwxrwxrwx cvsd cvsd       6 Jun  6 15:38 usr/bin -> ../bin
 lrwxrwxrwx cvsd cvsd       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::106:114::/data_disk/cvsroot:/bin/false
 nobody::65534:65534::/nonexistent:/bin/sh
 root::0:0::/root:/bin/bash

/data_disk/cvsroot/androide/CVSROOT/config:
 SystemAuth=no
 LockDir=/tmp/androide
 UseNewInfoFmtStrings=yes

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

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

root@merv-server:/#

-----Mensaje original-----
De: Arthur de Jong [arthur [at] arthurdejong.org] 
Enviado el: martes, 07 de junio de 2011 23:22
Para: Yague Martin, Ignacio; cvsd-users
Asunto: RE: CVSd Doubt

On Tue, 2011-06-07 at 08:38 +0200, Ignacio.Yague@military.airbus.com
wrote:
> /data_disk/cvsroot/etc/passwd: (passwds removed)  
> cvsd::106:114::/:/bin/false
> 
> System passwd file: (passwds removed)
>  cvsd::1001:1001::/home/cvsd:/bin/bash

There is a problem in the above. The cvsd user doesn't have the same numeric 
uid inside the chroot as outside. This is the likely cause of the problems. You 
should update /data_disk/cvsroot/etc/passwd to match the information in 
/etc/passwd.

--
-- 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