create the vserver: $> mkdir /vservers/test $> cd /vservers/test $> cp -ax /sbin /bin /etc /usr /var /dev /lib . $> mkdir home root proc tmp mnt $> chmod 1777 tmp $> cp -drR /mnt/.init.d /vservers/test/mnt
the last step only works if your host server is a gentoo system.... (i have no idea where the files which are located in the /mnt/.init.d folder, "actually" are....-> it's a mounted folder...) now delete some services from the /mnt/.init.d/started folder (after entering the vserver).... i.e sysklogd, sshd, proftpd, dcron, etc... (else gentoo won't let you start them....) i.e.: $> rm /mnt/.init.d/started/sshd $> /etc/init.d/sshd start --> after entering the vserver you need to start sysklogd and dcron... (or whatever progs you use) that's already it..... a quick (/dirty) set of instr. on how to get a gentoo vserver to run correctly. ( i haven't had any time so far to modify or rewrite the init scripts for the vserver, so.... ;-) ... ) -- regards, Georges Toth
