doc: Add keyring options to Japanese lxc.containers.conf(5)

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
This commit is contained in:
KATOH Yasufumi 2020-03-11 15:21:36 +09:00
parent 8f6d5e9cc8
commit d1fcb47a33

View File

@ -2590,6 +2590,57 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<programlisting>lxc.selinux.context = system_u:system_r:lxc_t:s0:c22</programlisting> <programlisting>lxc.selinux.context = system_u:system_r:lxc_t:s0:c22</programlisting>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term>
<option>lxc.selinux.context.keyring</option>
</term>
<listitem>
<para>
<!--
Specify the SELinux context under which the container's keyring
should be created. By default this the same as lxc.selinux.context, or
the the context lxc is executed under if lxc.selinux.context has not been set.
-->
コンテナのキーリングを作成する SELinux コンテキストを指定します。
デフォルトでは lxc.selinux.context と同じになります。
lxc.selinux.context が設定されていない場合は、LXC のコンテキストで実行されます。
</para>
<programlisting>lxc.selinux.context.keyring = system_u:system_r:lxc_t:s0:c22</programlisting>
</listitem>
</varlistentry>
</variablelist>
</refsect2>
<refsect2>
<title>カーネルキーリング<!-- Kernel Keyring --></title>
<para>
<!--
The Linux Keyring facility is primarily a way for various
kernel components to retain or cache security data, authentication
keys, encryption keys, and other data in the kernel. By default lxc
will create a new session keyring for the started application.
-->
Linux キーリング機能は、さまざまなカーネルコンポーネントが、セキュリティーデータ、認証キー、暗号化キー、その他のデータをカーネルに保持またはキャッシュするための機能です。
デフォルトでは、LXC は開始したアプリケーションのために、新しいセッションキーリングを作成します。
</para>
<variablelist>
<varlistentry>
<term>
<option>lxc.keyring.session</option>
</term>
<listitem>
<para>
<!--
Disable the creation of new session keyring by lxc. The started
application will then inherit the current session keyring.
By default, or when passing the value 1, a new keyring will be created.
-->
LXC による新しいセッションキーリングの作成を無効にできます。その場合、開始したアプリケーションは、その時点のセッションキーリングを継承します。
デフォルトは 1 で、1 の場合は LXC は新しいキーリングを作成します。
</para>
<programlisting>lxc.keyring.session = 0</programlisting>
</listitem>
</varlistentry>
</variablelist> </variablelist>
</refsect2> </refsect2>