Re: [Vserver] [RESOLVED] gentoo guest shutdown error

2005-09-21 Thread Chuck
On Wednesday 21 September 2005 01:29 am, Benedikt Boehm wrote:
 On Wednesday 21 September 2005 07:22, Benedikt Boehm wrote:
  On Wednesday 21 September 2005 00:30, Herbert Poetzl wrote:
   On Tue, Sep 20, 2005 at 11:41:52AM -0400, Chuck wrote:
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.
 
  you could also just upgrade baselayout-vserver to 1.12.0_pre8-r1, it 
solved
  this and some other bugs as well..
 
 
 wrong.. my guests have this line, my working copy of baselayout too, but 
it's 
 not in the tar.. damn.. i'll update it when back from school..

ahh ok. i assume this baselayout version you're speaking of is for the 2.x 
series vservers..


 ___
 Vserver mailing list
 Vserver@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@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] [RESOLVED] gentoo guest shutdown error

2005-09-21 Thread Benedikt Boehm
On Wednesday 21 September 2005 12:52, Chuck wrote:
 On Wednesday 21 September 2005 01:29 am, Benedikt Boehm wrote:
  On Wednesday 21 September 2005 07:22, Benedikt Boehm wrote:
   On Wednesday 21 September 2005 00:30, Herbert Poetzl wrote:
On Tue, Sep 20, 2005 at 11:41:52AM -0400, Chuck wrote:
 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.
  
   you could also just upgrade baselayout-vserver to 1.12.0_pre8-r1, it

 solved

   this and some other bugs as well..
 
  wrong.. my guests have this line, my working copy of baselayout too, but

 it's

  not in the tar.. damn.. i'll update it when back from school..

 ahh ok. i assume this baselayout version you're speaking of is for the 2.x
 series vservers..

no, doesn't matter, you can use it with 1.9, 2.0 and 2.1


  ___
  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


Re: [Vserver] [RESOLVED] gentoo guest shutdown error

2005-09-21 Thread Chuck
On Wednesday 21 September 2005 08:45 am, Benedikt Boehm wrote:

is this the version with the fixes?

sys-apps/baselayout-1.12.0_pre8-r2

 On Wednesday 21 September 2005 12:52, Chuck wrote:
  On Wednesday 21 September 2005 01:29 am, Benedikt Boehm wrote:
   On Wednesday 21 September 2005 07:22, Benedikt Boehm wrote:
On Wednesday 21 September 2005 00:30, Herbert Poetzl wrote:
 On Tue, Sep 20, 2005 at 11:41:52AM -0400, Chuck wrote:
  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.
   
you could also just upgrade baselayout-vserver to 1.12.0_pre8-r1, it
 
  solved
 
this and some other bugs as well..
  
   wrong.. my guests have this line, my working copy of baselayout too, but
 
  it's
 
   not in the tar.. damn.. i'll update it when back from school..
 
  ahh ok. i assume this baselayout version you're speaking of is for the 2.x
  series vservers..
 
 no, doesn't matter, you can use it with 1.9, 2.0 and 2.1
 
 
   ___
   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
 

-- 

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@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] [RESOLVED] gentoo guest shutdown error

2005-09-21 Thread Chuck
On Wednesday 21 September 2005 12:27 pm, Chuck wrote:


never mind. wrong version anyway. thats not vserver baselayout:)

 On Wednesday 21 September 2005 08:45 am, Benedikt Boehm wrote:
 
 is this the version with the fixes?
 
 sys-apps/baselayout-1.12.0_pre8-r2
 
  On Wednesday 21 September 2005 12:52, Chuck wrote:
   On Wednesday 21 September 2005 01:29 am, Benedikt Boehm wrote:
On Wednesday 21 September 2005 07:22, Benedikt Boehm wrote:
 On Wednesday 21 September 2005 00:30, Herbert Poetzl wrote:
  On Tue, Sep 20, 2005 at 11:41:52AM -0400, Chuck wrote:
   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.

 you could also just upgrade baselayout-vserver to 1.12.0_pre8-r1, it
  
   solved
  
 this and some other bugs as well..
   
wrong.. my guests have this line, my working copy of baselayout too, 
but
  
   it's
  
not in the tar.. damn.. i'll update it when back from school..
  
   ahh ok. i assume this baselayout version you're speaking of is for the 
2.x
   series vservers..
  
  no, doesn't matter, you can use it with 1.9, 2.0 and 2.1
  
  
___
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
  
 
 -- 
 
 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@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@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] [RESOLVED] gentoo guest shutdown error

2005-09-20 Thread Chuck

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@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@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@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] [RESOLVED] gentoo guest shutdown error

2005-09-20 Thread Herbert Poetzl
On Tue, Sep 20, 2005 at 11:41:52AM -0400, Chuck wrote:
 
 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.

short explanation: the tools currently send an INT
signal to the running init (if the initstyle is plain)
to signal the guest shutdown (which is equiv to giving
the three finger salute), which does not work if the
appropriate line in inittab is missing ...

best,
Herbert

 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@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@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@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


Re: [Vserver] [RESOLVED] gentoo guest shutdown error

2005-09-20 Thread Benedikt Boehm
On Wednesday 21 September 2005 00:30, Herbert Poetzl wrote:
 On Tue, Sep 20, 2005 at 11:41:52AM -0400, Chuck wrote:
  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.

you could also just upgrade baselayout-vserver to 1.12.0_pre8-r1, it solved 
this and some other bugs as well..


 short explanation: the tools currently send an INT
 signal to the running init (if the initstyle is plain)
 to signal the guest shutdown (which is equiv to giving
 the three finger salute), which does not work if the
 appropriate line in inittab is missing ...

 best,
 Herbert

  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@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@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@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
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] [RESOLVED] gentoo guest shutdown error

2005-09-20 Thread Benedikt Boehm
On Wednesday 21 September 2005 07:22, Benedikt Boehm wrote:
 On Wednesday 21 September 2005 00:30, Herbert Poetzl wrote:
  On Tue, Sep 20, 2005 at 11:41:52AM -0400, Chuck wrote:
   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.

 you could also just upgrade baselayout-vserver to 1.12.0_pre8-r1, it solved
 this and some other bugs as well..


wrong.. my guests have this line, my working copy of baselayout too, but it's 
not in the tar.. damn.. i'll update it when back from school..
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver