wrong cgroup on login to container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cgmanager (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
lxc (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
When starting a privileged container with cgmanager, cgroups look like:
3:cpuset:/lxc/u5
2:name=
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: user logins and containers could fail to be
moved into their proper cgroups
=======
Related branches
description: | updated |
description: | updated |
Changed in lxc (Ubuntu): | |
status: | Fix Committed → Fix Released |
Patch for lxc has been sent to the mailing list (hence the 'fix committed' status).