[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lxc-users
Subject:    [lxc-users] Error with lxc-execute on version 1.0.0.alpha1
From:       serge.hallyn () ubuntu ! com (Serge Hallyn)
Date:       2014-03-29 15:21:26
Message-ID: 20140329152125.GC3694 () sergelap
[Download RAW message or body]

Quoting Santhosh Kokala (Santhosh.Kokala at riverbed.com):
> Hi,
> I am facing a strange issue when starting a container, I see the following errors \
> when I do lxc-execute. These errors happen only on lxc 1.0.0.alpha1 version. \
> Version 0.9.0 works perfectly. I am using Ubuntu 13.04 Server and I got lxc \
> 1.0.0.alpha1 from Ubuntu raring backports. It would be really great if someone can \
> help me resolve this issue. 
> Santhosh
> 
> root at host:~# lxc-version
> lxc version: 1.0.0.alpha1
> 
> root at host:~# lxc-create -n dummy       --> Create a dummy container
> 
> root at host:~# lxc-list
> WARNING: lxc-list is deprecated, please use lxc-ls --fancy.
> This symlink will be dropped in LXC 1.0.
> 
> NAME   STATE    IPV4  IPV6  AUTOSTART
> -------------------------------------
> dummy  STOPPED  -     -     NO
> 
> root at host:~# lxc-execute -n dummy -- /bin/bash                             --> \
>                 Launch bash inside container
> lxc-execute: No such file or directory - failed to create symlink for kmsg
> lxc-execute: failed to setup kmsg for 'dummy'
> lxc-execute: No such file or directory - failed to mount /proc in the container.
> lxc-execute: failed to setup the container
> lxc-execute: invalid sequence number 1. expected 2
> lxc-execute: failed to spawn 'dummy'

That's fixed in later lxc where failure to mount proc oesn't
stop the container from starting.  Still, just create /proc
in your container rootfs as i suspect you'll want it.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic