]> git.proxmox.com Git - lxc.git/blob - debian/patches/pve/0006-doc-Add-lxc.cgroup.dir.-monitor-container-container..patch
update patches for lxc-4.0.11
[lxc.git] / debian / patches / pve / 0006-doc-Add-lxc.cgroup.dir.-monitor-container-container..patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: KATOH Yasufumi <karma@jazz.email.ne.jp>
3 Date: Sun, 5 Apr 2020 21:18:59 +0900
4 Subject: [PATCH lxc] doc: Add
5 lxc.cgroup.dir.{monitor,container,container.inner} to Japanese man
6
7 Update for commit a900cba
8
9 Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
10 ---
11 doc/ja/lxc.container.conf.sgml.in | 57 +++++++++++++++++++++++++++++++
12 1 file changed, 57 insertions(+)
13
14 diff --git a/doc/ja/lxc.container.conf.sgml.in b/doc/ja/lxc.container.conf.sgml.in
15 index 05ae2f441..9ad6627ab 100644
16 --- a/doc/ja/lxc.container.conf.sgml.in
17 +++ b/doc/ja/lxc.container.conf.sgml.in
18 @@ -2389,6 +2389,63 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
19 </para>
20 </listitem>
21 </varlistentry>
22 + <varlistentry>
23 + <term>
24 + <option>lxc.cgroup.dir.container</option>
25 + </term>
26 + <listitem>
27 + <para>
28 + <!--
29 + This is similar to <option>lxc.cgroup.dir</option>, but must be
30 + used together with <option>lxc.cgroup.dir.monitor</option> and
31 + affects only the container's cgroup path. This option is mutually
32 + exclusive with <option>lxc.cgroup.dir</option>.
33 + Note that the final path the container attaches to may be
34 + extended further by the
35 + <option>lxc.cgroup.dir.container.inner</option> option.
36 + -->
37 + これは <option>lxc.cgroup.dir</option> と同様の設定ですが、かならず <option>lxc.cgroup.dir.monitor</option> と同時に使わなければなりません。そして、設定はコンテナの cgroup パスにのみ影響を与えます。このオプションは <option>lxc.cgroup.dir</option> と同時に設定できません。コンテナがアタッチされる最終的なパスは <option>lxc.cgroup.dir.container.inner</option> オプションによりさらに変更される可能性があります。
38 + </para>
39 + </listitem>
40 + </varlistentry>
41 + <varlistentry>
42 + <term>
43 + <option>lxc.cgroup.dir.monitor</option>
44 + </term>
45 + <listitem>
46 + <para>
47 + <!--
48 + This is the monitor process counterpart to
49 + <option>lxc.cgroup.dir.container</option>.
50 + -->
51 + このオプションは、モニタプロセスに対して<option>lxc.cgroup.dir.container</option> と同様の働きをします。
52 + </para>
53 + </listitem>
54 + </varlistentry>
55 + <varlistentry>
56 + <term>
57 + <option>lxc.cgroup.dir.container.inner</option>
58 + </term>
59 + <listitem>
60 + <para>
61 + <!--
62 + Specify an additional subdirectory where the cgroup namespace
63 + will be created. With this option, the cgroup limits will be
64 + applied to the outer path specified in
65 + <option>lxc.cgroup.dir.container</option>, which is not accessible
66 + from within the container, making it possible to better enforce
67 + limits for privileged containers in a way they cannot override
68 + them.
69 + This only works in conjunction with the
70 + <option>lxc.cgroup.dir.container</option> and
71 + <option>lxc.cgroup.dir.monitor</option> options and has otherwise
72 + no effect.
73 + -->
74 + cgroup 名前空間が作られる追加のサブディレクトリを指定します。このオプションを使うと、cgroup の制限は <option>lxc.cgroup.dir.container</option> で指定した外部パスに適用されます。<option>lxc.cgroup.dir.container</option> はコンテナ内部からアクセスできないため、特権コンテナに対する制限を上書きできない方法でよりよい方法で強制できます。
75 + このオプションは <option>lxc.cgroup.dir.container</option> と <option>lxc.cgroup.dir.monitor</option> と同時に指定したときのみ機能し、それ以外の場合は効果がありません。
76 + </para>
77 + </listitem>
78 + </varlistentry>
79 <varlistentry>
80 <term>
81 <option>lxc.cgroup.relative</option>