<div dir="ltr">yes, exactly.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><br>--<br>Alan Hoffmeister<br><a href="https://twitter.com/alan_hoff" target="_blank">https://twitter.com/alan_hoff</a><br><a href="https://github.com/alanhoff" target="_blank">https://github.com/alanhoff</a><br><a href="https://keybase.io/alanhoff" target="_blank">https://keybase.io/alanhoff</a></div></div>
<br><div class="gmail_quote">2015-06-15 12:20 GMT-03:00 Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">to be clear, these containers start fine on the command line?<br>
<div class="HOEnZb"><div class="h5"><br>
Quoting Alan Hoffmeister (<a href="mailto:alanhoffmeister@gmail.com">alanhoffmeister@gmail.com</a>):<br>
> Nothing, same error.<br>
><br>
><br>
> --<br>
> Alan Hoffmeister<br>
> <a href="https://twitter.com/alan_hoff" rel="noreferrer" target="_blank">https://twitter.com/alan_hoff</a><br>
> <a href="https://github.com/alanhoff" rel="noreferrer" target="_blank">https://github.com/alanhoff</a><br>
> <a href="https://keybase.io/alanhoff" rel="noreferrer" target="_blank">https://keybase.io/alanhoff</a><br>
><br>
> 2015-06-08 12:19 GMT-03:00 Serge Hallyn <<a href="mailto:serge.hallyn@ubuntu.com">serge.hallyn@ubuntu.com</a>>:<br>
><br>
> > Quoting Alan Hoffmeister (<a href="mailto:alanhoffmeister@gmail.com">alanhoffmeister@gmail.com</a>):<br>
> > > Hello folks, I'm getting this messages when trying to autostart a vanilla<br>
> > > ubuntu 14.04 guest on an ubntu 14.04 host, I'm using LXC 1.1.2<br>
> > ><br>
> > >       lxc-start 1433600022.910 ERROR    lxc_cgmanager -<br>
> > > cgmanager.c:cgm_destroy:571 - Error connecting to cgroup manager<br>
> > >       lxc-start 1433600096.266 ERROR    lxc_cgmanager -<br>
> > > cgmanager.c:cgm_bind_dir:1339 -<br>
> > /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup<br>
> > > does not exist<br>
> ><br>
> > Hm, this looks like a race.  lxc.conf starts on runlevel [2345].<br>
> > cgmanager starts on starting dbus.  If cgmanager is slow to start,<br>
> > I'm not sure there is anything stopping runlevel 2 from being entered<br>
> > before<br>
> > cgmanager is up.<br>
> ><br>
> > Does it reliably solve your issue if you change the 'start on' line in<br>
> > /etc/init/lxc.conf to<br>
> ><br>
> > start on runlevel [2345] and started cgmanager<br>
> ><br>
> > ?<br>
> ><br>
> > >       lxc-start 1433600096.286 ERROR    lxc_conf -<br>
> > > conf.c:lxc_mount_auto_mounts:846 - No such file or directory - error<br>
> > > mounting /sys/fs/cgroup<br>
> > >       lxc-start 1433600096.286 ERROR    lxc_conf -<br>
> > conf.c:lxc_setup:3847 -<br>
> > > failed to setup the automatic mounts for 'test'<br>
> > >       lxc-start 1433600096.286 ERROR    lxc_start -<br>
> > start.c:do_start:699 -<br>
> > > failed to setup the container<br>
> > >       lxc-start 1433600096.286 ERROR    lxc_sync -<br>
> > sync.c:__sync_wait:51 -<br>
> > > invalid sequence number 1. expected 2<br>
> > >       lxc-start 1433600096.319 ERROR    lxc_start -<br>
> > > start.c:__lxc_start:1164 - failed to spawn 'test'<br>
> > >       lxc-start 1433600101.324 ERROR    lxc_start_ui -<br>
> > lxc_start.c:main:344<br>
> > > - The container failed to start.<br>
> > >       lxc-start 1433600101.325 ERROR    lxc_start_ui -<br>
> > lxc_start.c:main:346<br>
> > > - To get more details, run the container in foreground mode.<br>
> > >       lxc-start 1433600101.325 ERROR    lxc_start_ui -<br>
> > lxc_start.c:main:348<br>
> > > - Additional information can be obtained by setting the --logfile and<br>
> > > --logpriority options<br>
> > ><br>
> > > --<br>
> > > Alan Hoffmeister<br>
> > > <a href="https://twitter.com/alan_hoff" rel="noreferrer" target="_blank">https://twitter.com/alan_hoff</a><br>
> > > <a href="https://github.com/alanhoff" rel="noreferrer" target="_blank">https://github.com/alanhoff</a><br>
> > > <a href="https://keybase.io/alanhoff" rel="noreferrer" target="_blank">https://keybase.io/alanhoff</a><br>
> ><br>
> > > _______________________________________________<br>
> > > lxc-users mailing list<br>
> > > <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> > > <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
> ><br>
> > _______________________________________________<br>
> > lxc-users mailing list<br>
> > <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> > <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
<br>
> _______________________________________________<br>
> lxc-users mailing list<br>
> <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></div></div></blockquote></div><br></div>