]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
documentation: cgroup-v1 and systemd user instance 3843/head
authorMaxime de Roucy <maxime.deroucy@gmail.com>
Sun, 31 Jul 2016 12:43:23 +0000 (14:43 +0200)
committerMaxime de Roucy <maxime.deroucy@gmail.com>
Sun, 31 Jul 2016 13:00:59 +0000 (15:00 +0200)
Explain in the systemd.resource-control man that systemd user instance can't use resource control on
cgroup-v1.

man/systemd.resource-control.xml

index 76f3370b534a27591ca0f2e92c941773aa443091..cb8c896e5ce2e15842beefcc8220102eddd68f70 100644 (file)
     settings of a unit for a given resource type are for the other hierarchy type, the settings are translated and
     applied. If there are any valid settings for the hierarchy in use, all translations are disabled for the resource
     type. Mixing the two types of settings on a unit can lead to confusing results.</para>
+
+    <para>Legacy control group hierarchy (see <ulink
+    url="https://www.kernel.org/doc/Documentation/cgroup-v1/cgroups.txt">cgroups.txt</ulink>), also called cgroup-v1,
+    doesn't allow safe delegation of controllers to unprivileged processes. If the system use legacy control group
+    hierarchy, resource control is disabled for systemd user instance, see
+    <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
+    </para>
   </refsect1>
 
   <refsect1>