From owner-freebsd-questions@FreeBSD.ORG Sat Jan 7 18:24:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E76F16A41F for ; Sat, 7 Jan 2006 18:24:41 +0000 (GMT) (envelope-from jliang@so-net.net.tw) Received: from mail2000-1.so-net.net.tw (mail2000-1.so-net.net.tw [61.64.127.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 82F7A43D45 for ; Sat, 7 Jan 2006 18:24:40 +0000 (GMT) (envelope-from jliang@so-net.net.tw) X-M2KID: 43C0075F.00022AFC Received: from 61.62.69.212 by mail2000-1.so-net.net.tw with Mail2000 ESMTP Server V3.20S(26343:2:AUTH_RELAY) (envelope-from ); Sun, 08 Jan 2006 02:24:31 +0800 (CST) Message-ID: <005601c613b7$993d1d60$2e02a8c0@josematrix> From: "Jose Liang" To: "Giorgos Keramidas" References: <000601c61351$930ab8f0$2e02a8c0@josematrix> <003401c6133e$427b8850$2e02a8c0@josematrix> <20060107045755.GA4344@flame.pc> <000f01c61350$e706c5d0$2e02a8c0@josematrix> <20060107173741.GB1053@flame.pc> Date: Sun, 8 Jan 2006 02:24:29 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Cc: freebsd-questions@freebsd.org Subject: Re: Problem with cvs commit failed in cvs-freebsd setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2006 18:24:41 -0000 > On 2006-01-08 1:37, Giorgos Keramidas wrote: > > Yes, but you mentioned 'cvsd' and copied a snippet of cvsd's "config > file". Does that mean that you run a cvs server process chrooted and/or > under the devel/cvsd port? If that is true, then check that: > > - The cvsd chrooted process is also part of the 'cvs' group when > running *within* the chroot. > > - That 'cvs' group matches the one outside the chroot, or at the > very least the group of the chrooted copy of the CVS repository. > Sorry that I didn't tell clearly about my configuration. I modified the user and group of cvsd.conf into both 'cvs', and the user and group of /home/cvs both are 'cvs', too. The results of cvsd-buginfo are: Warning: be sure to review this information to make sure it does not contain any sensitive data! cvsd 1.0.10 built with: ./configure --with-libwrap --prefix=/usr/local --build=i386-portbld-freebsd5 .4 LDFLAGS= CFLAGS=-O -pipe CPPFLAGS= build_alias=i386-portbld-reebsd5.4 CC=cc /usr/local/etc/cvsd/cvsd.conf: RootJail /home/cvs/cvs Uid cvs Gid cvs Nice 1 Umask 027 Limit coredumpsize 0 PidFile /var/run/cvsd.pid MaxConnections 10 Log syslog info Repos /cvsroot /home/cvs/cvs: drwxrwxr-x cvs cvs 512 Jan 7 08:10 . drwxr-xr-x cvs cvs 512 Jan 7 08:10 bin -rwxr-xr-x cvs cvs 479404 Jan 7 08:10 bin/cvs drwxrwxr-x cvs cvs 512 Jan 7 09:00 cvsroot drwxr-xr-x cvs cvs 512 Jan 7 08:10 dev crw-rw-rw- cvs cvs 2, 2 Jan 7 08:10 dev/null crw-rw-rw- cvs cvs 2, 12 Jan 7 08:10 dev/zero drwxr-xr-x cvs cvs 512 Jan 7 08:10 etc -rw------- cvs cvs 168 Jan 7 08:10 etc/master.passwd -rw-r--r-- cvs cvs 153 Jan 7 08:10 etc/passwd -rw-r--r-- cvs cvs 40960 Jan 7 08:10 etc/pwd.db -rw------- cvs cvs 40960 Jan 7 08:10 etc/spwd.db drwxr-xr-x cvs cvs 512 Jan 7 08:10 lib -rwxr-xr-x cvs cvs 142236 Jan 7 08:10 lib/ld-elf.so.1 -rwxr-xr-x cvs cvs 69632 Jan 7 08:10 lib/ld.so -rwxr-xr-x cvs cvs 132820 Jan 7 08:10 lib/libasn1.so.7 -rwxr-xr-x cvs cvs 890376 Jan 7 08:10 lib/libc.so.5 -rwxr-xr-x cvs cvs 5544 Jan 7 08:10 lib/libcom_err.so.2 -rwxr-xr-x cvs cvs 28648 Jan 7 08:10 lib/libcrypt.so.2 -rwxr-xr-x cvs cvs 1017424 Jan 7 08:10 lib/libcrypto.so.3 -rwxr-xr-x cvs cvs 32708 Jan 7 08:10 lib/libgnuregex.so.2 -rwxr-xr-x cvs cvs 57452 Jan 7 08:10 lib/libgssapi.so.7 -rwxr-xr-x cvs cvs 225860 Jan 7 08:10 lib/libkrb5.so.7 -rwxr-xr-x cvs cvs 50972 Jan 7 08:10 lib/libmd.so.2 -rwxr-xr-x cvs cvs 54004 Jan 7 08:10 lib/libroken.so.7 -rwxr-xr-x cvs cvs 61316 Jan 7 08:10 lib/libz.so.2 lrwxr-xr-x root cvs 3 Jan 7 08:10 libexec -> lib drwxrwxrwt cvs cvs 512 Jan 7 14:20 tmp drwxr-xr-x cvs cvs 512 Jan 7 08:10 usr lrwxr-xr-x root cvs 6 Jan 7 08:10 usr/bin -> ../bin lrwxr-xr-x root cvs 6 Jan 7 08:10 usr/lib -> ../lib lrwxr-xr-x root cvs 6 Jan 7 08:10 usr/libexec -> ../lib /usr/bin/cvs: -r-xr-xr-x root wheel 479404 Jan 7 05:14 /usr/bin/cvs /usr/bin/cvs --version: Concurrent Versions System (CVS) 1.11.17-FreeBSD (client/server) /home/cvs/cvs/bin/cvs --version: Concurrent Versions System (CVS) 1.11.17-FreeBSD (client/server) /home/cvs/cvs/etc/passwd: (passwds removed) root::0:0::/:/usr/local/bin/bash nobody::65534:65534::/:/usr/sbin/nologin cvs::1002:1001::/:/usr/sbin/nologin /home/cvs/cvs/cvsroot/CVSROOT/config: /home/cvs/cvs/cvsroot/CVSROOT/passwd: (passwds removed) jose::cvs Warning: neither a readers file nor a writers file was found inside /home/cvs/cvs/cvsroot/CVSROOT. This means that all users have write access! And the results of ls -l /home/cvs/cvs/cvsroot/CVSROOT are: total 232 drwxrwxr-x 4 root cvs 1536 Jan 7 14:20 ./ -r--r--r-- 1 root cvs 495 Jan 7 09:00 .#checkoutlist -r--r--r-- 1 root cvs 760 Jan 7 09:00 .#commitinfo -r--r--r-- 1 root cvs 991 Jan 7 09:00 .#config -r--r--r-- 1 root cvs 602 Jan 7 09:00 .#cvswrappers -r--r--r-- 1 root cvs 1025 Jan 7 09:00 .#editinfo -r--r--r-- 1 root cvs 1141 Jan 7 09:00 .#loginfo -r--r--r-- 1 root cvs 1151 Jan 7 09:00 .#modules -r--r--r-- 1 root cvs 564 Jan 7 09:00 .#notify -r--r--r-- 1 root cvs 649 Jan 7 09:00 .#rcsinfo -r--r--r-- 1 root cvs 879 Jan 7 09:00 .#taginfo -r--r--r-- 1 root cvs 1026 Jan 7 09:00 .#verifymsg drwxrwxr-x 3 cvs cvs 512 Jan 7 09:00 ../ drwxrwxr-x 2 cvs cvs 512 Jan 7 09:00 Emptydir/ -r--r--r-- 1 cvs cvs 447 Jan 7 09:06 avail -r--r--r-- 1 cvs cvs 640 Jan 7 09:06 avail,v -r-xr-xr-x 1 cvs cvs 9097 Jan 7 09:06 cfg.pm* -r-xr-xr-x 1 cvs cvs 9306 Jan 7 09:06 cfg.pm,v* -r--r--r-- 1 cvs cvs 2096 Jan 7 09:06 cfg_local.pm -r--r--r-- 1 cvs cvs 2293 Jan 7 09:06 cfg_local.pm,v -r--r--r-- 1 cvs cvs 941 Jan 7 09:06 checkoutlist -r--r--r-- 1 cvs cvs 1341 Jan 7 09:06 checkoutlist,v -r-xr-xr-x 1 cvs cvs 8175 Jan 7 09:06 commit_prep.pl* -r-xr-xr-x 1 cvs cvs 8323 Jan 7 09:06 commit_prep.pl,v* -r-xr-xr-x 1 cvs cvs 1886 Jan 7 09:06 commitcheck* -r-xr-xr-x 1 cvs cvs 2084 Jan 7 09:06 commitcheck,v* -r--r--r-- 1 cvs cvs 877 Jan 7 09:06 commitinfo -r--r--r-- 1 cvs cvs 1340 Jan 7 09:06 commitinfo,v drwxrwxr-x 2 cvs cvs 512 Jan 7 09:06 commitlogs/ -r--r--r-- 1 cvs cvs 603 Jan 7 09:06 config -r--r--r-- 1 cvs cvs 1501 Jan 7 09:06 config,v -r-xr-xr-x 1 cvs cvs 7777 Jan 7 09:06 cvs_acls.pl* -r-xr-xr-x 1 cvs cvs 7981 Jan 7 09:06 cvs_acls.pl,v* -r--r--r-- 1 cvs cvs 27 Jan 7 09:06 cvsignore -r--r--r-- 1 cvs cvs 220 Jan 7 09:06 cvsignore,v -r--r--r-- 1 cvs cvs 1071 Jan 7 09:06 cvswrappers -r--r--r-- 1 cvs cvs 1394 Jan 7 09:06 cvswrappers,v -r--r--r-- 1 cvs cvs 1209 Jan 7 09:06 editinfo -r--r--r-- 1 cvs cvs 1527 Jan 7 09:06 editinfo,v -r--r--r-- 1 cvs cvs 273 Jan 7 09:06 exclude -r--r--r-- 1 cvs cvs 466 Jan 7 09:06 exclude,v -rw-rw-r-- 1 cvs cvs 1227 Jan 7 09:06 history -r-xr-xr-x 1 cvs cvs 21590 Jan 7 09:06 log_accum.pl* -r-xr-xr-x 1 cvs cvs 21958 Jan 7 09:06 log_accum.pl,v* -r-xr-xr-x 1 cvs cvs 3673 Jan 7 09:06 logcheck* -r-xr-xr-x 1 cvs cvs 3874 Jan 7 09:06 logcheck,v* -r--r--r-- 1 cvs cvs 1260 Jan 7 09:06 loginfo -r--r--r-- 1 cvs cvs 1578 Jan 7 09:06 loginfo,v -r--r--r-- 1 cvs cvs 1804 Jan 7 09:06 modules -r--r--r-- 1 cvs cvs 2123 Jan 7 09:06 modules,v -r--r--r-- 1 cvs cvs 642 Jan 7 09:06 notify -r--r--r-- 1 cvs cvs 1001 Jan 7 09:06 notify,v -r--r--r-- 1 cvs cvs 47 Jan 7 09:06 options -r--r--r-- 1 cvs cvs 240 Jan 7 09:06 options,v -r--r--r-- 1 cvs cvs 23 Jan 7 09:01 passwd -r--r--r-- 1 cvs cvs 765 Jan 7 09:06 rcsinfo -r--r--r-- 1 cvs cvs 1083 Jan 7 09:06 rcsinfo,v -r--r--r-- 1 cvs cvs 506 Jan 7 09:06 rcstemplate -r--r--r-- 1 cvs cvs 699 Jan 7 09:06 rcstemplate,v -r-xr-xr-x 1 cvs cvs 791 Jan 7 09:06 tagcheck* -r-xr-xr-x 1 cvs cvs 984 Jan 7 09:06 tagcheck,v* -r--r--r-- 1 cvs cvs 992 Jan 7 09:06 taginfo -r--r--r-- 1 cvs cvs 1310 Jan 7 09:06 taginfo,v -r-xr-xr-x 1 cvs cvs 434 Jan 7 09:06 unwrap* -r-xr-xr-x 1 cvs cvs 627 Jan 7 09:06 unwrap,v* -rw-rw-r-- 1 cvs cvs 0 Jan 7 09:00 val-tags -r--r--r-- 1 cvs cvs 1196 Jan 7 09:06 verifymsg -r--r--r-- 1 cvs cvs 1514 Jan 7 09:06 verifymsg,v -r-xr-xr-x 1 cvs cvs 833 Jan 7 09:06 wrap* -r-xr-xr-x 1 cvs cvs 1026 Jan 7 09:06 wrap,v* My id informations: uid=1001(jose) gid=0(wheel) groups=0(wheel), 1001(cvs) Is there a any incorrect one that needs changing? Thanks a lot!