Hello Sylvain,
For me it works fine to start getty in my vserver guests.
What I did:
- copy the tty file(s) as you
...
lrwxrwxrwx 1 root root 4 2007-01-01 00:00 console -> tty1
crw-rw-rw- 1 root tty 5, 0 2007-01-01 00:00 tty
crw------- 1 root root 4, 7 2007-01-01 00:00 tty1
...
You may note I called it tty1 inside of my guest, but due to
the minor of the char device it's tty 7 for the kernel (tty 6 would
have minor 6)
- configured my guest tu use plain init style
(this is required to have an init process inside the guest that
can start and respawn gettys)
This works fine (also take care inside of the guest to not have your local
syslog, if any, to log to your only console, would at least not look good and
be anoying when using that tty)
Regards,
Bruno
On Thursday 30 August 2007 18:51:52 Sylvain Le Gall wrote:
> Hello,
>
> I have try to google a bit and don't find any way to launch a getty
> inside a vserver.
>
> I would like to have tty6 assigned to a vserver i am runnnig. My host is
> called "giga" and the guest "yocto". I would like to connect tty0-5 to
> getty inside giga and tty6 to getty inside yocto.
>
> I have copied the tty6 device node to the dev/ of yocto server (and i
> can see it inside the vserver). I have removed everything that try to
> use tty6 from giga. I am still not able to start a getty on this tty.
>
> Any idea on how to activate a getty inside a vserver ?
>
> Regards && thanks in advance
> Sylvain Le Gall
Received on Thu Aug 30 18:04:25 2007