On 11/03/2012 11:33 AM, Frank Scholten wrote: > Hi all, > > Just built lxc from commit 5480b13b1c from sourceforge. > > I created an ubuntu container but then get several error messages when > I start it. > > $ cat lxc.conf > lxc.network.type = veth > lxc.network.link = br0 > lxc.network.flags = up > lxc.network.ipv4 = 192.168.20.20 > $ sudo /usr/local/bin/lxc-start -n ubuntu -f lxc.conf > lxc-start: No such file or directory - failed to create symlink for kmsg > lxc-start: failed to setup kmsg for 'ubuntu' > lxc-start: failed to setup the container > lxc-start: invalid sequence number 1. expected 2 > lxc-start: failed to spawn 'ubuntu' > > Thoughts? > > Cheers, > > Frank
Well, you're forcing your container to start with an incomplete config, so it's completely expected that lxc won't be able to find the rootfs. Such a lxc.conf is fine to use with lxc-create, but not with lxc-start. Try to simply use "lxc-start -n ubuntu", this should then work fine. -- Stéphane Graber Ubuntu developer http://www.ubuntu.com
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users