hybrid control goup mode breaks lxc adt tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I will disably hybrid control groups by default for now, but will create a ppa with such systemd, for ease of testing.
FAIL: lxc-tests: /usr/bin/
---
/usr/sbin/deluser: The user `lxcunpriv' does not exist.
/usr/bin/
Container is not defined
umount: /sys/kernel/
---
FAIL: lxc-tests: /usr/bin/
---
Removing user `lxcunpriv' ...
Warning: group `lxcunpriv' has no more members.
Done.
/usr/bin/
c2 is not running
c1 is not running
---
FAIL: lxc-tests: /usr/bin/
---
/usr/sbin/deluser: The user `usernic-user' does not exist.
/usr/bin/
FAIL
---
PASS: lxc-tests: /usr/bin/
PASS: python3: API
Removing 'local diversion of /usr/bin/dirmngr to /usr/bin/
CHANGES WITH 233:
* The "hybrid" control group mode has been modified to improve
"hybrid" setup of /sys/fs/cgroup is now pretty much identical to
"legacy" (including /sys/fs/
the cgroups-v2 hierarchy is also mounted, to
better management capabilities of cgroups-v2.
* The default control group setup mode may be selected both a boot-time
via a set of kernel command line parameters (specifically:
default selected on the configure command line
(i.e. the cgroups-v1 + cgroups-v2 mixture discussed above) now, but
this will change in a future systemd version to be "unified" (pure
"legacy", to enter pure cgroups-v1 mode. We recommend downstream
starting with v233. We recommend "unified" for development
as that's where things are headed in the long run. Use "legacy" for
greatest stability and compatibility only.
* Note one current limitation of "unified" and "hybrid" control group
setup modes: the kernel currently does not permit the systemd --user
instance (i.e. unprivileged code) to migrate processes between two
the user. This effectively means "systemd-run --user --scope" doesn't
work when invoked from outside of any "systemd --user" service or
scope. Specifically, it is not supported from session scopes. We are
working on fixing this in a future systemd version. (See #3388 for
further details about this.)
tags: | added: rls-aa-incoming |
Changed in lxc (Ubuntu): | |
status: | New → Fix Committed |
Changed in systemd (Ubuntu): | |
status: | New → Incomplete |
Changed in apparmor (Ubuntu): | |
status: | New → Incomplete |
Changed in lxc (Ubuntu): | |
status: | In Progress → Fix Released |
no longer affects: | lxc |
This bug was fixed in the package lxc - 2.0.7-0ubuntu4
---------------
lxc (2.0.7-0ubuntu4) artful; urgency=medium
* Update test-suite to skip 'hybrid' (v1 & v2 mounted simultaniously)
cgroups for now. LP: #1690125
-- Dimitri John Ledkov <email address hidden> Thu, 11 May 2017 12:01:33 +0100