[Lxc-users] lxc-start via ssh

Fajar A. Nugraha list at fajar.net
Fri Apr 27 10:37:47 UTC 2012


On Fri, Apr 27, 2012 at 5:31 PM, István Király - LaKing <d250 at 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




More information about the lxc-users mailing list