On Fri, Apr 27, 2012 at 5:31 PM, István Király - LaKing <d...@yahoo.com> wrote:
> Hi folks.
>
> I know lxc-start is sensitive from where it is called. Like for example, it 
> doesn't like to be called from mc's shell. ..
>
> I'm am trying to start a container via ssh. ..
>
> Somehow I managed to create a shell script that can start it, but for some 
> reason executing the command directly via ssh does not work.
> lxc-start -n fc14 -o /temp/fc14.log -s lxc.console=/temp/fc14.sys &
> lxc-start -n fc14 -o /temp/fc14.log -s lxc.console=/temp/fc14.sys >> 
> /temp/fc14.log &
>
>
> No error message when called via ssh it just doesent work. From root shell 
> these commands work.

Which distro is this? I suspect it's selinux problem or such.
lxc-start from root's ssh session works for me on Ubuntu 12.0.4.

Try disabling selinux first and see if it works.

-- 
Fajar

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to