About this list Date view Thread view Subject view Author view Attachment view

From: Chuck (chuck_at_sbbsnet.net)
Date: Tue 20 Sep 2005 - 16:41:52 BST


For those Gentoo installations that used the pre-prepared baselayout or stage3
for vserver guests, add this line to every guest/etc/inittab including the
template if you use one.

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -r now

if this is added to a running guest, then do

telinit q

within the guest.

Even if you used a different method, check inittab anyway to be sure this is
there.

This addition will cure the stop time outs happening when attempting to shut
down via the vservers init script or using vserver guest stop.

Chuck

On Tuesday 20 September 2005 10:43 am, Chuck wrote:
> On Tuesday 20 September 2005 10:05 am, Chuck wrote:
>
> correction. within the guest i typed init 0
>
> anyway
>
> i tried from the host:
>
> vserver guestname exec init 0
>
> and it shut down within seconds perfectly with no errors
>
> when i try vserver guestname stop
> it returns that the server is not running
>
> startup delivers no errors after stopping it in that fashion
>
> is this a clue or am i bypassing some important steps the 'stop' command
does?
>
>
> > I don't comprehend the verver.stop script :( however I can tell you the
> > fail/timeout is external to the gentoo guests by this test
> >
> > I enter the guest via vserver guest enter.
> >
> > i type halt 0
> >
> > within seconds i am tossed back into the host and looking at processes the
> > vserver lock process kills itself in about 5 seconds.. then if i run
vserver
> > guest stop it says the guest is not running.
> >
> > I am sure there are numerous reasons for not doing this, but why not just
> > execute init 0 within the guest from the vserver script while it does the
> > rest of its cleanup?
> >
> >
> >
> > --
> >
> > Chuck
> >
> > "...and the hordes of M$*ft users descended upon me in their anger,
> > and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> > or insecure system troubles and slowness or pay through the nose
> > for an OS as *we* do?!!', and I answered...'I use Linux'. "
> > The Book of John, chapter 1, page 1, and end of book
> >
> >
> > _______________________________________________
> > Vserver mailing list
> > Vserver_at_list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
> >
>
> --
>
> Chuck
>
> "...and the hordes of M$*ft users descended upon me in their anger,
> and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> or insecure system troubles and slowness or pay through the nose
> for an OS as *we* do?!!', and I answered...'I use Linux'. "
> The Book of John, chapter 1, page 1, and end of book
>
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. " The Book of John, chapter 1, page 1, and end of book

_______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 20 Sep 2005 - 16:42:18 BST by hypermail 2.1.3