[Devel] Catching the console

Enrico Weigelt weigelt at metux.de
Sat Dec 22 02:36:58 PST 2007


* Roman Kagan <rkagan at sw.ru> wrote:

Hi,

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

I just need it for debugging (eg. the startup process where no
remote access is available yet), so these problems aren't
important there.

If it really should be detachable, I suggest something like
screen(1), maybe implemented as 9P server.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------




More information about the Devel mailing list