OpenVZ Forum


Home » Mailing lists » Devel » Catching the console
Re: Catching the console [message #25024 is a reply to message #24940] Thu, 13 December 2007 08:16 Go to previous messageGo to previous message
rkagan is currently offline  rkagan
Messages: 11
Registered: May 2006
Location: Moscow
Junior Member
On Wed, Dec 12, 2007 at 12:27:01PM +0100, Enrico Weigelt wrote:
> No I'd like to request an feature for catching the console.
> IMHO, it's enough to have an option to vzctl start, which tells
> it to not to detach and bring the VE's console to the current tty.

Unfortunately this is much trickier than that.  The problem is that at
some point you'll want to detach the VE0's end; with standard Unix98
ptys this will result in SIGHUP being sent to all processes in the VE
whose controlling terminal is the console.  Besides, there are certain
implications for online migration of the VEs - you should leave no
references to the VE0 objects that can't be reconstructed on the
destination node.

So it looks like there's no pure userspace solution.  OTOH adding the
kernel support for it doesn't look impossible off-hand; I'll have a
look.

Roman.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH net-2.6.25 3/3] Uninline the inet_twsk_put function
Next Topic: can we suggest a patch?
Goto Forum:
  


Current Time: Fri Jul 25 23:37:20 GMT 2025

Total time taken to generate the page: 0.20234 seconds