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

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to