From: Allen Parker (allenp_at_hardcore-linux.net)
Date: Thu 04 Sep 2003 - 08:43:29 BST
Ok, work really sucks (haven't had much time for "pet projects" like
vservers or getting the rsync/ftp/web mirror up inside a vserver, let alone
at all). I tried the S_START variable and I'm still getting the
following...
New security context is 2
Can't execute /etc/rc.d/rc (No such file or directory)
I'm using the "latest" 0.22 vserver tools package compiled without errors on
a gentoo machine, should I attempt to hack it up to work with my gentoo
image and break redhat?
cat /etc/vservers/vs00.conf outputs:
S_CONTEXT=2
IPROOT=xxx.xxx.xxx.xxx
IPROOTMASK=xxx.xxx.xxx.xxx
IPROOTBCAST=255.255.255.0
IPROOTDEV=eth0
ONBOOT=yes
S_HOSTNAME=xxxxxxxxx.xxx.xxx
S_DOMAINNAME=
#S_NICE="20"
S_FLAGS="lock nproc sched"
ULIMIT="-H -u 1000"
S_CAPS="CAP_NET_RAW"
S_START="/sbin/rc default"
S_STOP="/sbin/rc shutdown"
-----Original Message-----
From: Rus Foster [mailto:rghf_at_fsck.me.uk]
Sent: Wednesday, September 03, 2003 5:38 AM
To: vserver_at_solucorp.qc.ca
Cc: Allen Parker
Subject: Re: [vserver] Gentoo Disk Images
On Wed, 3 Sep 2003, Allen Parker wrote:
> Just wondering, how does one go about launching a gentoo vserver from the
> disks kindly provided by Mr. Rus Foster? /etc/rc.d/rc doesn't exist...
> hrm... anybody got any pointers?
Ah yeah what you need to do is make sure the vserver script can use S_TART
and S_SHUTDOWN
http://vserver.strahlungsfrei.de/tiki-index.php?page=VServerGentoo
includes a bit of help.
If there is anything else please let me know
Rgds
Rus Foster
-- w: http://www.jvds.com | Linux + FreeBSD Servers from $15/mo e: rghf_at_jvds.com | Totally Customizable Technology t: +447919 373537 | Forums t: 1-888-327-6330 | http://forums.jvds.com