Re: [Vserver] Start-Up Scipts

2005-05-28 Thread Björn Steinbrink
On 2005.05.27 18:15:34 +0200, Oliver Welter wrote:
 Hi List,
 
 I have a little problem with vserver Start-up scriots...
 I am running Gentoo Host/Guest with 2.6.9 kernel and vserver-tools 0.30.196
 
 1) I have a vServer called wwwmain - I added a script wwwmain.sh in 
 /etc/vservers/ but it seems that this is never executed..

Then you are probably using a new style configuration, the
vservername.sh is for the old style. The flower page lists the various
start/stop script possibilites.

HTH
Björn
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Start-Up Scipts

2005-05-27 Thread Oliver Welter

Hi List,

I have a little problem with vserver Start-up scriots...
I am running Gentoo Host/Guest with 2.6.9 kernel and vserver-tools 0.30.196

1) I have a vServer called wwwmain - I added a script wwwmain.sh in 
/etc/vservers/ but it seems that this is never executed..


2) I want to create a mount --bind inside the vserver. The problem is 
that I need this mount-point already when running through the init 
(Apache has its config on this mount)
I tried vnamespace -e wwwmain mount --bind which works fine after 
starting the vserver, but how can I call this command when the context 
is set up but the init has not started...


Oliver
--
Diese Nachricht wurde digital unterschrieben
oliwel's public key: http://www.oliwel.de/oliwel.crt
Basiszertifikat: http://www.ldv.ei.tum.de/page72


smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Start-Up Scipts

2005-05-27 Thread Micah Anderson
Can you add the bind mount to /etc/vservers/wwwmain/fstab so that it
is mounted on startup?

micah

Oliver Welter schrieb am Friday, den 27. May 2005:

 Hi List,
 
 I have a little problem with vserver Start-up scriots...
 I am running Gentoo Host/Guest with 2.6.9 kernel and vserver-tools 0.30.196
 
 1) I have a vServer called wwwmain - I added a script wwwmain.sh in 
 /etc/vservers/ but it seems that this is never executed..
 
 2) I want to create a mount --bind inside the vserver. The problem is 
 that I need this mount-point already when running through the init 
 (Apache has its config on this mount)
 I tried vnamespace -e wwwmain mount --bind which works fine after 
 starting the vserver, but how can I call this command when the context 
 is set up but the init has not started...
 
 Oliver
 -- 
 Diese Nachricht wurde digital unterschrieben
 oliwel's public key: http://www.oliwel.de/oliwel.crt
 Basiszertifikat: http://www.ldv.ei.tum.de/page72



 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver