[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-12 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 204-5ubuntu20.2 --- systemd (204-5ubuntu20.2) trusty; urgency=medium * Update Enable-all-cgroup-controllers-in-logind.patch to also include net_cls and net_prio. That should cover all existing cgroups. (LP: #1317179) -- Stephane G

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-09 Thread Seth Forshee
The packages from systemd 204-5ubuntu20.2 fix the problem. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1317179 Title: lxc con

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-09 Thread Adam Conrad
Hello Seth, or anyone else affected, Accepted systemd into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/systemd/204-5ubuntu20.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wik

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-09 Thread Stéphane Graber
Cool, thanks Martin! I sort of wish there were a magic "all" keyword or something in there but well, I don't expect the cgroup controller list to grow too much during the lifetime of the LTS and I suspect our actual 14.10 implementation will be quite different anyway... -- You received this bug

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-08 Thread Martin Pitt
Adjusted git accordingly: http://anonscm.debian.org/gitweb/?p=pkg- systemd/systemd.git;a=commitdiff;h=4d696d . The changelog will differ a bit on next upload as there are other unstaged changes, but the actual content is the same. -- You received this bug notification because you are a member of

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-08 Thread Stéphane Graber
Uploaded to the queue. Testcase: - Install current upstream kernel on trusty (3.15) - Confirm that /proc/self/cgroup is incorrect for the net_cls cgroup - Update systemd-services - Reboot - Confirm that /proc/self/cgroup now looks identical for net_cls as for other controllers. -- You rece

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-08 Thread Stéphane Graber
Sorry Martin, I didn't see this bug until after I fixed it... So I added both net_cls and net_prio to utopic (jso we have them all listed just in case), would be great if you could update the git branch to match. I'm also doing the SRU to trusty now. ** Changed in: systemd (Ubuntu) Statu

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-08 Thread Martin Pitt
http://anonscm.debian.org/gitweb/?p=pkg- systemd/systemd.git;a=commitdiff;h=3b60a0c8b9566 ** Changed in: systemd (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.n

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-08 Thread Martin Pitt
Thanks Seth. So I figure Serge actually meant logind.conf when he said systemd.conf. :-) All clear now. ** Changed in: systemd (Ubuntu) Status: Incomplete => Triaged ** Changed in: systemd (Ubuntu Trusty) Status: Confirmed => Triaged -- You received this bug notification because y

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-08 Thread Seth Forshee
Martin: So I hadn't actually tested in utopic until late yesterday, and I did find it to be broken there. Serge had marked it fixed, but obviously we're getting different results. Adding net_cls in logind.conf fixes the problem for me in both trusty and utopic. -- You received this bug notificat

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-08 Thread Martin Pitt
Seth, can you try to add net_cls to /etc/systemd/logind.conf 's "Controllers=" line and see if that helps? ** Changed in: systemd (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-07 Thread Martin Pitt
Serge, we currently have this patch in our systemd: http://anonscm.debian.org/gitweb/?p=pkg- systemd/systemd.git;a=blob;f=debian/patches/Enable-all-cgroup- controllers-in- logind.patch;h=d80d34d1a4534684edaff2a6db35572d971fcbde;hb=refs/heads/ubuntu which adds those to /etc/systemd/logind.conf's

Re: [Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-07 Thread Serge Hallyn
Now that's odd. This certainly seemed to be fixed in utopic, but after a quick dist-upgrade from a trusty host net_cls in fact does not appear to be there. So I think you're right - thanks! status: confirmed ** Changed in: systemd (Ubuntu) Status: Fix Released => Confirmed -- You rec

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-07 Thread Martin Pitt
Seth, you marked this as fix released in utopic, but there was no new upload for this. Did some of the recent utopic changes "accidentally" fix this? I don't remember anything which was related to LXC. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-07 Thread Serge Hallyn
** No longer affects: lxc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1317179 Title: lxc containers fail to start in trusty with newer kernels To manage notifications about this bug go to: https:

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-07 Thread Serge Hallyn
The variable JoinControllers in /etc/systemd/system.cofn should include net_cls. Otherwise when newer kernel is used in trusty, users will not by default be able to use unprivileged containers. ** Also affects: systemd (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: sy

[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

2014-05-07 Thread Seth Forshee
** Description changed: When running a trusty userspace with a newer kernel (e.g. 3.15-rc4), attempting to start a container fails: - $ lxc-start -n p2 + $ lxc-start -n p2 lxc_container: call to cgmanager_create_sync failed: invalid request lxc_container: Failed to create net_cls:p2