osdir.com
mailing list archive F.A.Q. -since 2001!



Subject: Re: inittab / supervise - msg#00315

List: linux.vserver

Mail Archive Navigation:
by Date: Prev Next Date Index by Thread: Prev Next Thread Index

On Sun, 22 Dec 2002, Dinesh Mistry wrote:
> on a non VPS system I would run it from the /etc/inittab eg:
> SV:123456:respawn:/command/svscanboot

By default the vserver scripts don't run `init' (which reads
`/etc/inittab'), but instead start `/etc/init.d/rc' directly,
to load all the daemons sysvinit style.

> Is there a better way to do this inside a VPS?

If you want to use init/inittab then clear out anything to do with
starting getty-logins from the vserver's `inittab' and add the
"fakeinit" option to the `/etc/vservers/foo.conf' file, although you
won't see the scroll as the services start up.

-Paul
--
Nottingham, GB





Thread at a glance:

Previous Message by Date:

Re: Shell Script Problems

On Sat, 21 Dec 2002, Ken Stanley wrote: > The script runs, [...], but the environment variables do not work. The script will only set the variables within its own environment (and its children's). If you want to run it in the *current* shell's environment, then: $ . {...}/path-to-script see also (and equivalent to): $ source {...}/path-to-script -Paul -- Nottingham, GB

Next Message by Date:

Re[2]: Problems with 2.4.20-ctx16 (IS_IMMUTABLE?)

Hello Herbert, Sunday, December 22, 2002, 10:01:36 PM, you wrote: HP> maybe you could elaborate a little on the environment HP> (distro, gcc-version, etc.) Sure, it's pretty much a standard RedHat 8.0 environment, gcc is: [root@adjana root]# gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --hoost=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit Thread model: posix gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) -- Mit freundlichen Gruessen / Best regards Christoph Kuhles Geschäftsleitung / Managing Director Aquatix IT-Services e.K. Telefon: +49 471 3914540 Gildemeisterstr. 15 Telefax: +49 800 1234500 27568 Bremerhaven E-Mail: ck@xxxxxxxxxx AG Bremerhaven, HRA 4216 Web: http://www.aquatix.de/

Previous Message by Thread:

Re: inittab / supervise

On Sun, Dec 22, 2002 at 12:32:51PM -0500, Dinesh Mistry wrote: > > I have a question about using supervise inside a VPS, on a non VPS system I > would run it from the /etc/inittab eg: > > SV:123456:respawn:/command/svscanboot > > For now in the VPS I am running svscanboot& from a startup script but the > entire point of running from inittab is for it to keep respawning and not > die. hmm, why should it die? anyway, you can start it from the physical inittab and add the context change/server exec ... best, Herbert > Is there a better way to do this inside a VPS? > > -------------------------------------------- > Dinesh Mistry > > YourHostDirect > Better, Faster and more Reliable Hosting > http://www.yourhostdirect.com > -------------------------------------------- > >

Next Message by Thread:

Re: ctx16 patch for linux 2.4.19 kernel

Thanks Herbert Merry Christmas > no, this is not normal, this shows that either > your mailer broke my patch, or, what I assume > that you broke my patch, by adding empty lines > at the end (or something similar ...) > > *sigh* get the complete patch for 2.4.19 from > http://www.13thfloor.at/VServer/patch-2.4.19-ctx16.diff.bz2 > > best, > >
blog comments powered by Disqus

Home | News | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz is too!