[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-11-09 Thread Stéphane Graber
Just re-read through this whole bug. It looks like what broke your setup is actually a bugfix in LXC wrt config inheritance. Your config contains: - lxc.mount.auto = - lxc.mount.auto = cgroup:mixed This instructs LXC (and that wasn't implemented right at first) to wipe all of lxc.mount.auto,

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-11-09 Thread Stéphane Graber
Just re-read through this whole bug. It looks like what broke your setup is actually a bugfix in LXC wrt config inheritance. Your config contains: - lxc.mount.auto = - lxc.mount.auto = cgroup:mixed This instructs LXC (and that wasn't implemented right at first) to wipe all of lxc.mount.auto,

Re: [Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-10 Thread Serge Hallyn
Quoting Christopher Townsend (christopher.towns...@canonical.com): Hi Serge, Ok, I understand I can fix this issue by adding that line in my config. However, my gripe now with this is that my configuration was working with no issues prior to an update in LXC, then it broke for no apparent

Re: [Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-10 Thread Serge Hallyn
Quoting Christopher Townsend (christopher.towns...@canonical.com): Hi Serge, Ok, I understand I can fix this issue by adding that line in my config. However, my gripe now with this is that my configuration was working with no issues prior to an update in LXC, then it broke for no apparent

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-10 Thread Christopher Townsend
Hey Serge, Thanks for looking into this more and better documentation would be most helpful. I'm not really sure if it matters any more, but my python script does indeed ask to load /usr/share/lxc/config/ubuntu.common.conf. Here is the code snippet before I start adding custom config options:

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-10 Thread Christopher Townsend
Hey Serge, Thanks for looking into this more and better documentation would be most helpful. I'm not really sure if it matters any more, but my python script does indeed ask to load /usr/share/lxc/config/ubuntu.common.conf. Here is the code snippet before I start adding custom config options:

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-10 Thread Christopher Townsend
Hi Serge, Ok, I understand I can fix this issue by adding that line in my config. However, my gripe now with this is that my configuration was working with no issues prior to an update in LXC, then it broke for no apparent reason. Why was it automounting /sys before and not now? Shouldn't this

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-10 Thread Christopher Townsend
Hi Serge, Ok, I understand I can fix this issue by adding that line in my config. However, my gripe now with this is that my configuration was working with no issues prior to an update in LXC, then it broke for no apparent reason. Why was it automounting /sys before and not now? Shouldn't this

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-06 Thread Christopher Townsend
** Changed in: lxc (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1417909 Title: Container fails to start with error mounting

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-06 Thread Christopher Townsend
** Changed in: lxc (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417909 Title: Container fails to start with error mounting /sys/fs/cgroup To manage

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-06 Thread Serge Hallyn
Confused why this was marked confirmed/high prio, since there is as far as I ca ntell no bug in lxc here. The container rootfs came from an iso, but it's the configuration which was bad. Wherever you got your configuration, fix it there to make sure to mount a sysfs before attempting to mount

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-06 Thread Serge Hallyn
Confused why this was marked confirmed/high prio, since there is as far as I ca ntell no bug in lxc here. The container rootfs came from an iso, but it's the configuration which was bad. Wherever you got your configuration, fix it there to make sure to mount a sysfs before attempting to mount

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-06 Thread Alberto Salvia Novella
** Changed in: lxc (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417909 Title: Container fails to start with error mounting /sys/fs/cgroup To manage

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-06 Thread Alberto Salvia Novella
** Changed in: lxc (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1417909 Title: Container fails to start with error mounting /sys/fs/cgroup

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-05 Thread Christopher Townsend
Hey Serge, Yes, adding 'lxc.mount.auto = sys' fixes the issue. The container is an extracted ISO from http://cdimage.ubuntu.com/ubuntu- desktop-next/daily-live/current/vivid-desktop-amd64.iso for the Unity 8 in LXC project. -- You received this bug notification because you are a member of

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-05 Thread Christopher Townsend
Hey Serge, Yes, adding 'lxc.mount.auto = sys' fixes the issue. The container is an extracted ISO from http://cdimage.ubuntu.com/ubuntu- desktop-next/daily-live/current/vivid-desktop-amd64.iso for the Unity 8 in LXC project. -- You received this bug notification because you are a member of

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-05 Thread Serge Hallyn
thanks for submitting this bug. Could you tell us how you created the container? You should be able to solve this by adding lxc.mount.auto = sys as the first line of your configuration file. Please let us know if that does not fix the container start. ** Changed in: lxc (Ubuntu)

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-05 Thread Serge Hallyn
thanks for submitting this bug. Could you tell us how you created the container? You should be able to solve this by adding lxc.mount.auto = sys as the first line of your configuration file. Please let us know if that does not fix the container start. ** Changed in: lxc (Ubuntu)

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-03 Thread Christopher Townsend
This is the debug output when starting the container. ** Attachment added: debug.txt https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1417909/+attachment/4311947/+files/debug.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-03 Thread Christopher Townsend
This is the generated LXC config file. ** Attachment added: config https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1417909/+attachment/4311948/+files/config -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-03 Thread Christopher Townsend
This is the debug output when starting the container. ** Attachment added: debug.txt https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1417909/+attachment/4311947/+files/debug.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 1417909] Re: Container fails to start with error mounting /sys/fs/cgroup

2015-02-03 Thread Christopher Townsend
This is the generated LXC config file. ** Attachment added: config https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1417909/+attachment/4311948/+files/config -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu.