Has anyone managed to set up annon cvs in a chroot environment on
solaris using pserver?
I can do all but transfer files. Checkout fails with " no such device
> I can do all but transfer files. Checkout fails with " no such device
> or address"
dev/zero dev/null and all other necessary ones.
Try to use chroot to change to that environment and then try to run
the cvs command. You can use truss from another window to try and see
what devices it tries to open. If you have setup an ftp server in
a chrooted environment you should feel right at home doing this.
It is a pretty same process.
I've looked far n' wide (mostly with Google) to determine the
best/recogized way to set up a "chroot jail" for an exposed network
service, on AIX (5.1). In particular, I am looking to set up
CVS pserver in a chroot jail, and any needed utilities (perl, sh,
etc) WITHOUT having to statically-link each utility in JAIL/bin.
Surely, someone has done this. I've succeeded quite nicely with "cvsd"
controlling cvs-pserver on Linux 2.4, using the mount command to mount (ro)
/lib, /usr/lib, /usr/kerberos/lib etc under JAIL/lib, etc, for all
the shared libraries dirs required.
I am using "dump" to help me determine what shared libs are needed, but
this is kinda tedious. I've tried NFS-mounting /lib etc. under JAIL/, but
this doesn't seem to be working:
chroot JAIL bin/cvs --version # bombs out immediately
Is there an IBM white paper on this topic? I can't be the only guy who's
tried this, and then succeeded. :^)
Thank you! in advance,