Turns out (afaics) there are no libdbus threading issues in what we've found so far. Rather,
libnih needs to be built with --enable-threading, otherwise it - especially the error handling - is not thread-safe. lxcfs needed a few tweaks to become thread-safe when built against libnih If current tests pan out (I have candidate patches in ppa:serge- hallyn/lxd) then one last update should be to stop mutexing the use of cgmanager in lxc (making the dbus connection per-thread as I did in lxcfs) ** Changed in: cgmanager (Ubuntu) Status: Confirmed => Fix Released ** Changed in: dbus (Ubuntu) Status: New => Invalid ** Changed in: libnih (Ubuntu) Status: New => Confirmed ** Also affects: lxcfs (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1294200 Title: test linked against nih-dbus-tool-generated libraryis not thread-safe To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1294200/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs