[Devel] [RFC rh7 v2] ve/tty: vt -- Implement per VE support for virtual consoles

Cyrill Gorcunov gorcunov at virtuozzo.com
Thu Jul 30 08:00:01 PDT 2015


On Thu, Jul 30, 2015 at 05:51:19PM +0300, Cyrill Gorcunov wrote:
> > 
> > I.e. our VNC viewer (or whatever it is using /dev/console), needs to
> > mknod somewhere c 252 0 and then read/write it?
> 
> Yes, something like that. /dev/console is always mapped to /dev/vzvtm0,
> and "reader" may access it via slave peer /dev/vzvts0. On container
> startup vzctl simply should allow these devices in security cgroup.

And yes, on bare templates there is no char devices which maps this
terminals, as I pointed in changelog -- for testing I manually add
them inside container.



More information about the Devel mailing list