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

Serge Hallyn 1315521 at bugs.launchpad.net
Thu May 8 19:08:31 UTC 2014


** 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



More information about the Ubuntu-server-bugs mailing list