On Sat Apr 19, 2003 at 03:00:14PM -0400, Matthew Daubenspeck wrote: > > BTW, what looked the line before you did the error prone change with > > strace in /etc/inetd.conf? > > exec /usr/bin/cvs -b /usr/bin ${cvs_tmp_dir} ${allow_root_opts} pserver Nono, the line in /etc/inetd.conf, not in /usr/sbin/cvs-pserver. [...] > 27061 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30016000 > 27061 read(0, "BEGIN AUTH REQUEST\n/usr/local/cv"..., 4096) = 69 here begins the server authentication. > 27061 open("/usr/local/cvs/CVSROOT/config", O_RDONLY) = 3 > 27061 fstat(3, {st_mode=S_IFREG|0444, st_size=987, ...}) = 0 > 27061 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30017000 > 27061 read(3, "# Set this to \"no\" if pserver sh"..., 4096) = 987 > 27061 read(3, "", 4096) = 0 > 27061 close(3) = 0 here he reads /usr/local/cvs/CVSROOT/config. Is there something special in here? > 27061 munmap(0x30017000, 4096) = 0 > 27061 brk(0x100a3000) = 0x100a3000 > 27061 open("/etc/passwd", O_RDONLY) = 3 > 27061 fcntl(3, F_GETFD) = 0 > 27061 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 > 27061 fstat(3, {st_mode=S_IFREG|0644, st_size=1520, ...}) = 0 > 27061 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30017000 > 27061 _llseek(3, 0, [0], SEEK_CUR) = 0 > 27061 read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1520 > 27061 read(3, "", 4096) = 0 > 27061 close(3) = 0 For no known reason, the cvspserver skips to look at /usr/local/cvs/CVSROOT/passwd and instead falls back to /etc/passwd... Maybe this is a bug and worth a bugreport against cvs. > 27061 munmap(0x30017000, 4096) = 0 > 27061 fstat(1, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 > 27061 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30017000 > 27061 write(1, "E Fatal error, aborting.\nerror 0"..., 112) = 112 > 27061 munmap(0x30017000, 4096) = 0 > 27061 exit(1) = ? Here he sends the "Fatal error" and quits. I checked cvs bugs and maybe this can help you: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=186100 If nothing works you should file a bug against cvs. so long Thomas -- ___ Obviously we do not want to leave zombies around. _/___\ - W. Richard Stevens ( ^ > Thomas Krennwallner <djmaecki at ull dot at> / \ 1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446 DAD9 FF58 4E59 67A1 DA7B (__\/_)_ http://bigfish.ull.at/~djmaecki/
Attachment:
pgpqQlB2FWgKH.pgp
Description: PGP signature