Re: [lxc-users] Running docker inside unprivileged LXC containers

2015-06-18 Thread Akshay Karle
Understood. I think I can work on a pull request for docker to create devices only if devices cgroup and uid_map is present and has the 0 0 4294967295 value. If not I can just skip creation of devices and continue. They shouldn't have a problem with that. I will let you know if I once I make the ch

Re: [lxc-users] lxc-start-ephemeral triggers kernel oops

2015-06-18 Thread overlay fs
Update: the ubuntu kernel oops is the subject of bug #1465998, https://lists.ubuntu.com/archives/kernel-team/2015-June/058689.html, though it is described there as a panic rather than an oops. It will be patched in the next kernel update. ___ lxc-users

Re: [lxc-users] Error connecting to cgroup manager

2015-06-18 Thread Serge Hallyn
Well that's messed up! If cgm ping is working, then lxc should definately be able to talk over cgmanager. Let' try this then: can you edit /etc/init/lxc-instance.conf and change exec lxc-start -n $NAME to exec lxc-start -n $NAME -F -l trace -o /var/log/lxc-auto-$NAME.conf and

Re: [lxc-users] Error connecting to cgroup manager

2015-06-18 Thread Alan Hoffmeister
That didn't worked :-( -- Alan Hoffmeister https://twitter.com/alan_hoff https://github.com/alanhoff https://keybase.io/alanhoff 2015-06-18 10:05 GMT-03:00 Serge Hallyn : > Heh, it wasn't a solution, but a debugging tool :) > > Let's try something perhaps a wee bit more elegant: in place of th

Re: [lxc-users] Error connecting to cgroup manager

2015-06-18 Thread Serge Hallyn
Heh, it wasn't a solution, but a debugging tool :) Let's try something perhaps a wee bit more elegant: in place of the sleep, can you add something like while ! cgm ping 2>&1 > /dev/null; do sleep 1; done This is where upstart really failed (though it had plans) to fix things - 'started cgmanag

Re: [lxc-users] Error connecting to cgroup manager

2015-06-18 Thread Alan Hoffmeister
I was trying to avoid sleeps, it feels like a dirty solution, but I will take a try. -- Alan Hoffmeister https://twitter.com/alan_hoff https://github.com/alanhoff https://keybase.io/alanhoff 2015-06-17 23:39 GMT-03:00 Serge Hallyn : > Hm, so does adding a "sleep 1m" in /etc/init/lxc.conf right

Re: [lxc-users] Error connecting to cgroup manager

2015-06-18 Thread Alan Hoffmeister
Yep, it worked. -- Alan Hoffmeister https://twitter.com/alan_hoff https://github.com/alanhoff https://keybase.io/alanhoff 2015-06-18 9:41 GMT-03:00 Alan Hoffmeister : > I was trying to avoid sleeps, it feels like a dirty solution, but I will > take a try. > > > -- > Alan Hoffmeister > https://t