I have the exact same problem.
I have been googling on it quite alot.
everywhere it is brought up there are several people asking the question but no answers.
Anyone got this working please tell us how!
my firewall is not up, i'm not using xinet, the debug (cvsd -d) gives nothing interesting. (no error messages)
I got a feeling there's something wrong with the cvsd-buildroot script.
I get this:
Code: Select all
ted lib # cvsd-buildroot /var/lib/cvsd/
creating directory structure under /var/lib/cvsd/... done.
installing binaries... cvs.
locating libnsl.so... /lib/libnsl.so.1
locating libnss_compat.so... /lib/libnss_compat.so.2
locating ld-elf.so... not found (probably not fatal)
locating libnss_compat.so.2... /lib/libnss_compat.so.2
locating libnss_files.so.2... /lib/libnss_files.so.2
locating /usr/libexec/ld.so... not found (probably not fatal)
locating /usr/lib/ld.so.1... not found (probably not fatal)
locating nss_files.so.1... not found (probably not fatal)
installing libraries... libnsl.so.1 libnss_compat.so.2 libnss_compat.so.2 libnss_files.so.2 libc.so.6 libcrypt.so.1 libnsl.so.1.
creating /var/lib/cvsd//dev devices... done.
adding users to /var/lib/cvsd//etc/passwd... root nobody cvsd.
WARNING: no passwd file in /var/lib/cvsd/root/CVSROOT
fixing ownership... done.
chrooted system created in /var/lib/cvsd/
if your cvs binary changes (new version) you should rerun cvsd-buildroot
I have got a feeling that the following lines are pretty weird:
Code: Select all
locating /usr/libexec/ld.so... not found (probably not fatal)
locating /usr/lib/ld.so.1... not found (probably not fatal)
isn't ld.so really important in order to run stuff in that chrooted environment?
UPDATE:
I found that the problem is that the cvs binary (in the chrooted environment) was not able to start because some really important libraries where missing.
this solved the problem for me:
Code: Select all
cp /lib/ld-* /path/to/cvsdir/lib/
cp /lib/libdl.so.2 /path/to/cvsdir/lib/
So there is something wrong with the cvsd-buildroot script (not copying the libraries).
I have never posted a bug before so I guess that someone should do it, if it's not already done.
I hope you all get your cvsd up and running now!
ted.