On Wed, Mar 5, 2014 at 11:08 PM, Serge Hallyn <serge.hal...@ubuntu.com> wrote: > Quoting S.Çağlar Onur (cag...@10ur.org): >> On Wed, Mar 5, 2014 at 3:58 PM, Stéphane Graber <stgra...@ubuntu.com> wrote: >> > On Wed, Mar 05, 2014 at 10:38:49AM -0500, Stéphane Graber wrote: >> >> On Tue, Feb 25, 2014 at 07:53:06PM -0500, Stéphane Graber wrote: >> >> > Hello, >> >> > >> >> > Ideally, I'd like to have LXC 1.0.1 out in the next week or so with all >> >> > of the fixes we stacked since the 1.0 release last month. >> >> > >> >> > On top of those, the following issues have been mentioned a few times >> >> > and we probably need to fix those before 1.0.1 too: >> >> > - unprivileged containers spawned by root are broken. >> >> > - lxc-attach on systems with rshared / is broken. >> >> > - the mount table of containers spawned on systems with rshared / is >> >> > poluted (twice as long as it should be). >> >> >> >> >> >> All of those issues and more have now been resolved with fixes available >> >> in the stable-1.0 branch. >> >> >> >> Unless someone comes up with a major issue by then, I intend to release >> >> 1.0.1 later this afternoon as our first LXC 1.0 bugfix release >> >> (admitedly a rather massive bugfix release for our first one...). >> > >> > >> > Caglar reported a problem with lxc-test-concurent and similar use from >> > Go related to threading and cgmanager interactions, I'm postponing 1.0.1 >> > until we have this resolved. >> >> Still testing but looks like following patch helped (on top of current >> master) > > Thanks. Since this will be called during cgroup_ops_init() > which has the attribute constructor, this will be done in > time. > > Needs your sign-off, but
Just sent to the list but let me play with it for a while before applying as I only tested the Go side till now. > Acked-by: Serge E. Hallyn <serge.hal...@ubuntu.com> > > >> [caglar@oOo:~/Projects/lxc(master)] git diff >> diff --git a/src/lxc/cgmanager.c b/src/lxc/cgmanager.c >> index e7407d8..7c83ad6 100644 >> --- a/src/lxc/cgmanager.c >> +++ b/src/lxc/cgmanager.c >> @@ -94,6 +94,8 @@ static void cgm_dbus_disconnect(void) >> #define CGMANAGER_DBUS_SOCK "unix:path=/sys/fs/cgroup/cgmanager/sock" >> static bool do_cgm_dbus_connect(void) >> { >> + dbus_threads_init_default(); >> + >> DBusError dbus_error; >> dbus_error_init(&dbus_error); >> >> >> > -- >> > Stéphane Graber >> > Ubuntu developer >> > http://www.ubuntu.com >> > >> > _______________________________________________ >> > lxc-devel mailing list >> > lxc-devel@lists.linuxcontainers.org >> > http://lists.linuxcontainers.org/listinfo/lxc-devel >> > >> >> >> >> -- >> S.Çağlar Onur <cag...@10ur.org> >> _______________________________________________ >> lxc-devel mailing list >> lxc-devel@lists.linuxcontainers.org >> http://lists.linuxcontainers.org/listinfo/lxc-devel > _______________________________________________ > lxc-devel mailing list > lxc-devel@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-devel -- S.Çağlar Onur <cag...@10ur.org> _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel