[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-10-25 Thread Serge Hallyn
Drat. I do think this should still be pushed. I don't know when I'll have time to do it though. Please keep it open. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cgroup-lite in Ubuntu.

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-10-25 Thread Serge Hallyn
I'll still aim to push this for trusty and xenial. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cgroup-lite in Ubuntu. https://bugs.launchpad.net/bugs/1668724 Title: fails to mount cgroupfs inside containers running on

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-10-25 Thread ChristianEhrhardt
This was removed from Xenial-Proposed as well. It is still in Y-proposed but that is EOL. Given the time that has passed and the rather unclear state I'd consider this bug incomplete. In comment #29 Serge outlined that for Trusty all of that not really applies (everyone is using backports

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-22 Thread Chris J Arges
Hello Cam, or anyone else affected, Accepted cgroup-lite into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cgroup- lite/1.11ubuntu0.16.10.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-17 Thread Serge Hallyn
Sorry, this got lost in my inbox. I used dput. I seemed to recall that in some recent cycle the it became either ok or preferred to use $release-updates instead of $release-proposed in SRUs. I can trivially change it ack to yakkety-proposed if preferred. For Trusty, I just noticed that the

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-07 Thread Robie Basak
My script can't see the Yakkety upload because it's in unapproved in the updates pocket, not the proposed pocket. I've never seen that before. How did you upload it? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cgroup-lite

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-07 Thread Robie Basak
Unsubscribing ~ubuntu-sponsors as I don't see any debdiffs or similar here. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cgroup-lite in Ubuntu. https://bugs.launchpad.net/bugs/1668724 Title: fails to mount cgroupfs

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-07 Thread Robie Basak
I see tasks for Trusty and Yakkety but they aren't in the queue? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cgroup-lite in Ubuntu. https://bugs.launchpad.net/bugs/1668724 Title: fails to mount cgroupfs inside

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-07 Thread Robie Basak
Ah. I see cgroup-lite in the backports queue for Trusty. Was this intentional? For Yakkety, I do see it in the queue manually. Probably a bug in my script. I'll investigate. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-07 Thread Robie Basak
Hello Cam, or anyone else affected, Accepted cgroup-lite into precise-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cgroup- lite/1.1.6 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

Re: [Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-06 Thread Serge Hallyn
Thanks for looking. I'll push that tonight.   Original Message   From: Cam Cope Sent: Monday, March 6, 2017 3:50 PM To: serge.hal...@gmail.com Reply To: Bug 1668724 Subject: [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04 LGTM -- You received this bug

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-06 Thread Launchpad Bug Tracker
This bug was fixed in the package cgroup-lite - 1.13 --- cgroup-lite (1.13) zesty; urgency=medium * Handle mounting comounted cgroup controllers (LP: #1668724) -- Cameron Cope Tue, 28 Feb 2017 11:48:05 -0800 ** Changed in: cgroup-lite (Ubuntu) Status:

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-03 Thread Serge Hallyn
(s@/tmp/2@/proc/cgroups@ of course) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cgroup-lite in Ubuntu. https://bugs.launchpad.net/bugs/1668724 Title: fails to mount cgroupfs inside containers running on 16.04 Status

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-03 Thread Serge Hallyn
FWIW something like: for d in `tail -n +2 /tmp/2 | awk '{ if ($2 == 0) print $1 else if (a[$2]) a[$2] = a[$2]","$1 else a[$2]=$1 };END{ for(i in a) { print a[i] } }'`; do mkdir -p

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-03 Thread Serge Hallyn
There is a bug (which is fixed in newer versions) in lxc in that it does not ignore cgroups which are not used by the container. So in your particular case, if you're not using the co-mounted controllers, then indeed fixing the lxc bug should work for you as well. Nevertheless some people will

Re: [Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-03 Thread Cam Cope
I'm happy to provide a patch, but if the root cause of my issue is in lxc it may be easier to patch that than worrying about backwards compatibility for cgroups on older distro releases. On Mar 3, 2017 20:11, "Serge Hallyn" <1668...@bugs.launchpad.net> wrote: > This bug incidentally also affects

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-03 Thread Serge Hallyn
This bug incidentally also affects the cgroupfs-mount package. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cgroup-lite in Ubuntu. https://bugs.launchpad.net/bugs/1668724 Title: fails to mount cgroupfs inside containers

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-03 Thread Serge Hallyn
(Note - this means the patch I just pushed to zesty is in fact wrong. Since zesty requires systemd this doesn't really matter, but we must get a working patch before pushing SRU patches) @ccope, please let me know if you care to write an update patch. -- You received this bug notification

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-03 Thread Serge Hallyn
Hm, yes i see (hierarchy 0). I do worry that means that systems with the unified hierarchy will be still more of a problem, since it is mounted as hierarchy 0. But then it's probably fine to just say that cgroup-lite doesn't support unified hierarchy. -- You received this bug notification

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-03 Thread Cam Cope
Hm, I found a bug in my last version of this patch. Freshly booted machines which had not mounted the cgroupfs had all the hierarchies as 0, causing all cgroups to get mounted onto a single directory. I can work around this by detecting this scenario. However, I wonder if I am actually seeing a

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-03 Thread Serge Hallyn
** Also affects: cgroup-lite (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: cgroup-lite (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: cgroup-lite (Ubuntu Yakkety) Importance: Undecided Status: New ** Also affects:

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-03-03 Thread Serge Hallyn
I assume /sys/fs/cgroup/systemd was used because that's where systemd expected to see it. I can't find any version which mounts it at /sys/fs/cgroup/name=systemd - do you have a version that does that? -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-02-28 Thread Cam Cope
Edit: re: the systemd hierarchy, it's actually not mentioned in /proc/cgroups, it's /proc/self/cgroups -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cgroup-lite in Ubuntu. https://bugs.launchpad.net/bugs/1668724 Title:

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-02-28 Thread Cam Cope
Also, is there a reason the name=systemd cgroup controller gets mounted at /sys/fs/cgroup/systemd instead of /sys/fs/cgroup/name=systemd in newer versions of cgroups-mount? It means my applications have to special-case stripping off the name= when they try to work with cgroups based upon

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-02-28 Thread Cam Cope
Whoops, didn't notice I changed that part in my local copy. Should have been more careful with my patch. ** Patch removed: "cgroup-lite_1.1.5.patch" https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+attachment/4828546/+files/cgroup-lite_1.1.5.patch ** Patch removed:

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-02-28 Thread Cam Cope
Patch for 1.12 ** Patch added: "cgroup-lite_1.12.patch" https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+attachment/4828590/+files/cgroup-lite_1.12.patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-02-28 Thread Cam Cope
Patch for 1.1.5 ** Patch added: "cgroup-lite_1.1.5.patch" https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+attachment/4828588/+files/cgroup-lite_1.1.5.patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-02-28 Thread Ubuntu Foundations Team Bug Bot
The attachment "cgroup-lite_1.1.5.patch" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag,

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-02-28 Thread Serge Hallyn
Thanks for the patches. Note that you've changed the loop variable from d to c, but the loop is still using d, so nothing gets mounted with that patch verbatim. Switching the variable back to d fixes the issue for me. -- You received this bug notification because you are a member of Ubuntu

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-02-28 Thread Cam Cope
It looks like there were fixes in the latest version of cgroup-lite that would still be applicable/useful for earlier ubuntu releases, but I tried to minimize the diffs to have the functionality that I need. Let me know if you need a patch for trusty as well. -- You received this bug

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-02-28 Thread Serge Hallyn
** Changed in: cgroup-lite (Ubuntu) Importance: Undecided => High ** Changed in: cgroup-lite (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cgroup-lite in Ubuntu.

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-02-28 Thread Cam Cope
Patch for 1.12 ** Patch added: "cgroup-lite_1.12.patch" https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+attachment/4828547/+files/cgroup-lite_1.12.patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1668724] Re: fails to mount cgroupfs inside containers running on 16.04

2017-02-28 Thread Cam Cope
Patch for cgroup-lite 1.1.5 ** Patch added: "cgroup-lite_1.1.5.patch" https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+attachment/4828546/+files/cgroup-lite_1.1.5.patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which