[Bug 1315521] Re: wrong cgroup on login to container

2014-06-24 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 1.0.4-0ubuntu0.1

---
lxc (1.0.4-0ubuntu0.1) trusty; urgency=medium

  * New upstream bugfix release. (MRE trackaging bug LP: #1329932)
- Drop all existing patches (all applied upstream).
- Fix lxc-attach failing from a different login session. (LP: #1315052)
- Fix wrong cgroup on login to container. (LP: #1315521)

  * Cherry-pick upstream (stable branch) commits to fix testsuite under adt:
- tests: Avoid the download template when possible
- tests: Don't fail when HOME isn't defined
- tests: apparmor: Always end with a newline

  * Sync packaging with utopic:
- Depend on either cgmanager or cgroup-lite and recommend cgmanager.
  This should ensure systems get cgmanager by default even if cgroup-lite
  is already installed, yet makes it possible for the user to remove
  cgmanager if they really want to.
- Remove hardcoded dependency on apparmor, instead generate it from
  rules so that the source package can be backported without changes (the
  right apparmor version will be picked up based on the release number).
- Do not start lxc-instance in postinst without any instance specified,
  as that is an invalid request.
 -- Stephane Graber stgra...@ubuntu.com   Sat, 14 Jun 2014 20:09:57 -0400

** Changed in: lxc (Ubuntu Trusty)
   Status: Fix Committed = Fix Released

-- 
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/1315521

Title:
  wrong cgroup on login to container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1315521/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1315521] Re: wrong cgroup on login to container

2014-06-23 Thread Stéphane Graber
Confirmed that name=systemd: indeed points to a valid sub-cgroup of lxc.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
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/1315521

Title:
  wrong cgroup on login to container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1315521/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1315521] Re: wrong cgroup on login to container

2014-06-17 Thread Chris Halse Rogers
Hello Serge, or anyone else affected,

Accepted lxc into trusty-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/lxc/1.0.4-0ubuntu0.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: lxc (Ubuntu Trusty)
   Status: Confirmed = Fix Committed

** Tags removed: verification-done

** Tags added: verification-needed

-- 
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/1315521

Title:
  wrong cgroup on login to container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1315521/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1315521] Re: wrong cgroup on login to container

2014-06-13 Thread Stéphane Graber
** Changed in: lxc (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
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/1315521

Title:
  wrong cgroup on login to container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1315521/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1315521] Re: wrong cgroup on login to container

2014-05-19 Thread Launchpad Bug Tracker
This bug was fixed in the package cgmanager - 0.24-0ubuntu6

---
cgmanager (0.24-0ubuntu6) trusty-proposed; urgency=low

  * 0002-exit-on-startup-error: Don't proceed to accept client connections
if we failed to connect to the server. (LP: #1317693)
  * 0003-proxy-wait-2-seconds-for-server-reply: do not wait indefinately
for replies from the cgmanager, as it may have crashed. (LP: #1317623)
  * 0004-Implement-getpidcgroupabs.patch: Provide a way for clients to
query absolute paths which can be used with MovePidAbs (LP: #1315052)
  * 0005-get_controller_path-use-the-is_same_controller-helpe.patch:  Fix
handling of name=systemd so that containers can be properly entered
into the proper cgroup.  (LP: #1315521)
  * 0006-cgm-make-all-also-reference-name-systemd.patch: make cgm all
also act on the name=systemd container  (LP: #1317687)
 -- Serge Hallyn serge.hal...@ubuntu.com   Thu, 08 May 2014 18:02:50 -0500

** Changed in: cgmanager (Ubuntu Trusty)
   Status: Fix Committed = Fix Released

-- 
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/1315521

Title:
  wrong cgroup on login to container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1315521/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1315521] Re: wrong cgroup on login to container

2014-05-14 Thread Serge Hallyn
the full fix requires an lxc patch, however I tested it by doing

sudo cgm create name=systemd u1
sudo cgm chown name=systemd u1 1000 1000
cgm movepid name=systemd u1 $$
cat /proc/self/cgroup | grep systemd

which gave the expected correct result (a cgroup ending in '/u1')

** Tags removed: verification-needed
** Tags added: verification-done

-- 
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/1315521

Title:
  wrong cgroup on login to container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1315521/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1315521] Re: wrong cgroup on login to container

2014-05-12 Thread Brian Murray
Hello Serge, or anyone else affected,

Accepted cgmanager into trusty-proposed. The package will build now and
be available at
http://launchpad.net/ubuntu/+source/cgmanager/0.24-0ubuntu6 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: cgmanager (Ubuntu Trusty)
   Status: Confirmed = Fix Committed

** Tags added: verification-needed

-- 
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/1315521

Title:
  wrong cgroup on login to container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1315521/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1315521] Re: wrong cgroup on login to container

2014-05-12 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/cgmanager

-- 
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/1315521

Title:
  wrong cgroup on login to container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1315521/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1315521] Re: wrong cgroup on login to container

2014-05-08 Thread Serge Hallyn
** Description changed:

  When starting a privileged container with cgmanager, cgroups look like:
  
  3:cpuset:/lxc/u5
  2:name=systemd:/user/1000.user/c2.session
  
  where all controllers other than name=systemd are correct.  lxc needs
  to set the new cgroup for name=systemd, and cgmanager needs to fix a
  bug where name=systemd was not being handled right.
+ 
+ 
+ Impact: containers are not fully placed into their cgroup
+ Test case:
+   sudo lxc-create -t download -n u1 -- -d ubuntu -r trusty -a amdte
+   sudo lxc-start -n u1 -d
+   sudo lxc-attach -n u1 -- grep systemd /proc/self/cgroup
+   Verify that the cgroup is /lxc/u1
+ Regression potential: This implements a new method rather than
+ modifying existing methods.  Existing functionality should not
+ be changed.
+ 

-- 
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/1315521

Title:
  wrong cgroup on login to container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1315521/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1315521] Re: wrong cgroup on login to container

2014-05-08 Thread Serge Hallyn
** Description changed:

  When starting a privileged container with cgmanager, cgroups look like:
  
  3:cpuset:/lxc/u5
  2:name=systemd:/user/1000.user/c2.session
  
  where all controllers other than name=systemd are correct.  lxc needs
  to set the new cgroup for name=systemd, and cgmanager needs to fix a
  bug where name=systemd was not being handled right.
  
  
  Impact: containers are not fully placed into their cgroup
  Test case:
sudo lxc-create -t download -n u1 -- -d ubuntu -r trusty -a amdte
sudo lxc-start -n u1 -d
sudo lxc-attach -n u1 -- grep systemd /proc/self/cgroup
Verify that the cgroup is /lxc/u1
- Regression potential: This implements a new method rather than
- modifying existing methods.  Existing functionality should not
- be changed.
+ Regression potential: user logins and containers could fail to be
+ moved into their proper cgroups
  

-- 
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/1315521

Title:
  wrong cgroup on login to container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1315521/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1315521] Re: wrong cgroup on login to container

2014-05-02 Thread Serge Hallyn
Patch for lxc has been sent to the mailing list (hence the 'fix
committed' status).

-- 
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/1315521

Title:
  wrong cgroup on login to container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1315521/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs