[Lxc-users] kramic on maverick

Daniel Lezcano daniel.lezcano at free.fr
Tue Oct 26 13:06:55 UTC 2010


On 10/26/2010 08:57 AM, Papp Tamás wrote:
>
> 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.

What are these changes ?

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

Ok, thanks for pointing the problem. This is something I will fix.

   -- Daniel




More information about the lxc-users mailing list