[Lxc-users] kramic on maverick
Papp Tamás
tompos at martos.bme.hu
Tue Oct 26 06:57:59 UTC 2010
On 2010.10.24. 22:00, Daniel Lezcano wrote:
>
> Can you check you have at least the in the rootfs the
> /etc/init/console.conf file ?
>
> The content should be:
>
> # console - getty
> #
> # This service maintains a console on tty1 from the point the system is
> # started until it is shut down again.
>
> start on stopped rc RUNLEVEL=[2345]
> stop on runlevel [!2345]
>
> respawn
> exec /sbin/getty -8 38400 /dev/console
The problem was not with the console, but ssh and other services, which
supposed to be started by the rc system.
After some hours I could get it work. I downloaded an openvz template
and made a diff and I made the needed changes to the lxc template.
> Yeah, I suppose you logged as non-root and then you did a su -
> The tty belongs to the initial user and not to the current user, this is
> why it fails. I suppose when root opens the tty that shouldn't happen,
> but anyway you can fix this by chmod ugo+rw $(tty) until there is a
> proper fix for this.
Thank you, I'll try it next time.
tamas
More information about the lxc-users
mailing list