[systemd-devel] [PATCH] cgroup-util: Add more well-known controller names

Martin Pitt martin.pitt at ubuntu.com
Wed Nov 26 06:55:57 PST 2014


Hello all,

some weeks ago I mentioned [1] that I'm working on making per-user
(unprivileged) LXC containers work under systemd. Lennart made it
quite clear [2] that he doesn't want to support this upstream until
the kernel grows the necessary mechanisms; however, as this works and
Ubuntu deems this feature important, I made a downstream patchset for
it.

The first one is quite generic and might also be useful for other
scenarios where admins configure/create cgroups locally: systemd
currently only knows a handful of well-known cgroup controller names,
but these days there are a lot more. This patch adds them, so that
cg_create_everywhere() and friends work as intended.

Thanks,

Martin

[1] http://lists.freedesktop.org/archives/systemd-devel/2014-November/024856.html
[2] http://lists.freedesktop.org/archives/systemd-devel/2014-November/024921.html
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cgroup-util-Add-more-well-known-controller-names.patch
Type: text/x-diff
Size: 2009 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141126/251c2c9e/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141126/251c2c9e/attachment-0001.sig>


More information about the systemd-devel mailing list