[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 there?)

I'll update the bug tasks to reflect all that.

@Serge - Please update if you still work on this or have a fix
somewhere.

** Changed in: cgroup-lite (Ubuntu Yakkety)
   Status: Fix Committed => Won't Fix

** Changed in: cgroup-lite (Ubuntu Xenial)
   Status: Fix Committed => Incomplete

** Changed in: cgroup-lite (Ubuntu Trusty)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: cgroup-lite (Ubuntu Yakkety)
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 non-backports version was so old
noone could really be using it (and AIUI trusty-backport is enabled by
default).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: cgroup-lite (Ubuntu Precise)
   Status: New => Fix Committed

** Tags added: verification-needed

** Changed in: cgroup-lite (Ubuntu Xenial)
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [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 notification because you are subscribed to cgroup-
lite in Ubuntu.
Matching subscriptions: cgroup-lite
https://bugs.launchpad.net/bugs/1668724

Title:
fails to mount cgroupfs inside containers running on 16.04

Status in cgroup-lite package in Ubuntu:
Fix Released
Status in cgroup-lite source package in Precise:
New
Status in cgroup-lite source package in Trusty:
New
Status in cgroup-lite source package in Xenial:
New
Status in cgroup-lite source package in Yakkety:
New

Bug description:
I need to run nested Ubuntu 12.04 and 14.04 containers on 16.04 hosts,
and have noticed that the cgroups-mount script for mounting the
cgroups inside the containers has stopped working. This is because
systemd now comounts multiple controllers on a single hierarchy, which
prevents mounting them individually inside the container.

=== SRU Justification 
Impact: nested containers fail to start
Reproduce: create a root owned container; install lxc and cgroup-lite; create a 
container, and try to start it. Starting will fail if cgroup-lite is running in 
the first level container without this patch.
Regression potential: should be low, it's possible that the regexp is simply 
wrong for some cases.
===

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2017-03-06 Thread Cam Cope
LGTM

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 /sys/fs/cgroup/$d
mountpoint -q /sys/fs/cgroup/$d || (mount -n -t cgroup -o $d cgroup 
/sys/fs/cgroup/$d || rmdir /sys/fs/cgroup/$d || true)
 done

seems to work.  Again excluding the possibility of unified hierarchy,
which I've not tested.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 want to run containers using those
controllers, so cgroup-lite (and cgroupfs-mount) will need to be fixed.
But that's not your problem :)  I understand if you want to leave it at
this - I'll just need to improve my awk skills :)  I just wanted to ask
to avoid duplication of effort.

Thanks for your help so far.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [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 the cgroupfs-mount package.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1668724
>
> Title:
>   fails to mount cgroupfs inside containers running on 16.04
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+
> bug/1668724/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 bug in LXC. On my 12.04 hosts 
spawning 12.04 containers with the nesting.conf include, the cgroupfs gets 
automounted inside the container even without this package. This is not the 
case on 16.04 hosts. I'm currently using LXC 2.0.6.

RE: name=systemd, I had modified an older version of our scripts to
mount name=systemd, because that was how it showed up in
/proc/self/cgroups, but everywhere I see the systemd cgroup mentioned on
the internet has it mounted at /sys/fs/cgroup/systemd, so I guess that's
an implementation detail I just have to deal with.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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: cgroup-lite (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: cgroup-lite (Ubuntu Precise)
   Importance: Undecided => High

** Changed in: cgroup-lite (Ubuntu Trusty)
   Importance: Undecided => High

** Changed in: cgroup-lite (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: cgroup-lite (Ubuntu Yakkety)
   Importance: Undecided => High

** Description changed:

  I need to run nested Ubuntu 12.04 and 14.04 containers on 16.04 hosts,
  and have noticed that the cgroups-mount script for mounting the cgroups
  inside the containers has stopped working. This is because systemd now
  comounts multiple controllers on a single hierarchy, which prevents
  mounting them individually inside the container.
+ 
+ ===  SRU Justification 
+ Impact: nested containers fail to start
+ Reproduce:  create a root owned container;  install lxc and cgroup-lite;  
create a container, and try to start it.  Starting will fail if cgroup-lite is 
running in the first level container without this patch.
+ Regression potential:  should be low, it's possible that the regexp is simply 
wrong for some cases.
+ ===

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 /proc/cgroups.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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: "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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668724

Title:
  fails to mount cgroupfs inside containers running on 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1668724/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs