]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
doc: Update Japanese lxc.container.conf(5) for mounting /sys/fs/cgroup rw
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Tue, 6 May 2014 17:05:13 +0000 (02:05 +0900)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 6 May 2014 21:52:21 +0000 (16:52 -0500)
Update for commit b46f055

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
doc/ja/lxc.container.conf.sgml.in

index ceb4e1deac8c6f1caa01a85e2736790ea8d99bfe..c12096cd27caccee29bf026d7c00e01424ddeeaa 100644 (file)
@@ -1150,6 +1150,34 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
                 </para>
              </listitem>
            </itemizedlist>
+           <para>
+              <!--
+             Note that if automatic mounting of the cgroup filesystem
+             is enabled, the tmpfs under
+             <filename>/sys/fs/cgroup</filename> will always be
+             mounted read-write (but for the <option>:mixed</option>
+             and <option>:ro</option> cases, the individual
+             hierarchies,
+             <filename>/sys/fs/cgroup/$hierarchy</filename>, will be
+             read-only). This is in order to work around a quirk in
+             Ubuntu's
+              <citerefentry>
+               <refentrytitle>mountall</refentrytitle>
+                <manvolnum>8</manvolnum>
+              </citerefentry>
+             command that will cause containers to wait for user
+             input at boot if
+             <filename>/sys/fs/cgroup</filename> is mounted read-only
+             and the container can't remount it read-write due to a
+             lack of CAP_SYS_ADMIN.
+              -->
+              cgroup ファイルシステムの自動マウントが有効の場合、<filename>/sys/fs/cgroup</filename> 以下の tmpfs は常に読み書き可能でマウントされることに注意が必要です (しかし <option>:mixed</option> と <option>:ro</option> の場合は、個々の階層の <filename>/sys/fs/cgroup/$hierarchy</filename> は読み込み専用となるでしょう)。これは Ubuntu の
+              <citerefentry>
+               <refentrytitle>mountall</refentrytitle>
+                <manvolnum>8</manvolnum>
+              </citerefentry>
+              コマンドの特異な動きに対処するためのものです。特異な動きとは、<filename>/sys/fs/cgroup</filename> が読み込み専用でマウントされた状態で、コンテナが CAP_SYS_ADMIN を持たない場合、/sys/fs/cgroup を読み書き可能で再マウントしようとしてできないため、コンテナのブート時にユーザからの入力を待ってしまうというものです。
+           </para>
            <para>
               <!--
              Examples: