[vserver] [PATCH] Re: Crash after killing guest processes from the host

From: Grzegorz Nosek <grzegorz.nosek_at_gmail.com>
Date: Mon 12 Apr 2010 - 22:44:10 BST
Message-ID: <t2w121a28811004121444xb419c02dp17fcbc3970f71c5e@mail.gmail.com>

2010/4/12 Grzegorz Nosek <grzegorz.nosek@gmail.com>:
> When I send a signal (apparently even 0, to check whether the process
> is alive) from the host to a guest process, "something bad" happens.

A rather crude but working patch attached, applies on top of
patch-, didn't check other versions.

Other important problems (though not so trivially reproducible) are:
  * (pty-related?) locking imbalance on vserver shutdown -- I don't
have logs handy but shutting down a vserver with a screen session
inside (screen on the host, running vserver enter) tends to cause "xid
exited with lock=-19" or something to that effect. The machine seems
to operate quite normally (apart from subsequent "vserver stop"s
hanging after killing all processes) but fails to reboot cleanly.
  * strace'ing a guest process from the host sometimes makes the
machine go down in flames, but I have no logs or further details,

Best regards,
 Grzegorz Nosek

Received on Mon Apr 12 22:44:24 2010
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 12 Apr 2010 - 22:44:25 BST by hypermail 2.1.8